home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 7 / Amiga Format AFCD07 (Dec 1996, Issue 91).iso / serious / shareware / programming / emacs-complete / fsf / emacs / lisp / subr.elc < prev    next >
Emacs Compiled Lisp  |  1994-08-11  |  18.9 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was processed as: Emacs Compiled Lisp (other/emacsCompiledLisp).
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert Emacs Compiled Lisp (other/emacsCompiledLisp) magic Unsupported
100% file Emacs/XEmacs v19 byte-compiled Lisp data default
99% file data default
100% TrID Emacs/XEmacs byte-compiled Lisp (generic) default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 13 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 72 6d 73 40 6d 6f 6c |piled by| rms@mol|
|00000020| 65 2e 67 6e 75 2e 61 69 | 2e 6d 69 74 2e 65 64 75 |e.gnu.ai|.mit.edu|
|00000030| 20 6f 6e 20 54 68 75 20 | 41 75 67 20 31 31 20 31 | on Thu |Aug 11 1|
|00000040| 36 3a 32 35 3a 34 35 20 | 31 39 39 34 0a 3b 3b 3b |6:25:45 |1994.;;;|
|00000050| 20 66 72 6f 6d 20 66 69 | 6c 65 20 2f 68 6f 6d 65 | from fi|le /home|
|00000060| 2f 66 73 66 2f 72 6d 73 | 2f 65 31 39 2f 6c 69 73 |/fsf/rms|/e19/lis|
|00000070| 70 2f 73 75 62 72 2e 65 | 6c 0a 3b 3b 3b 20 65 6d |p/subr.e|l.;;; em|
|00000080| 61 63 73 20 76 65 72 73 | 69 6f 6e 20 31 39 2e 32 |acs vers|ion 19.2|
|00000090| 35 2e 39 32 2e 33 2e 0a | 3b 3b 3b 20 62 79 74 65 |5.92.3..|;;; byte|
|000000a0| 63 6f 6d 70 20 76 65 72 | 73 69 6f 6e 20 46 53 46 |comp ver|sion FSF|
|000000b0| 20 32 2e 31 30 0a 3b 3b | 3b 20 6f 70 74 69 6d 69 | 2.10.;;|; optimi|
|000000c0| 7a 61 74 69 6f 6e 20 69 | 73 20 6f 6e 2e 0a 3b 3b |zation i|s on..;;|
|000000d0| 3b 20 74 68 69 73 20 66 | 69 6c 65 20 75 73 65 73 |; this f|ile uses|
|000000e0| 20 6f 70 63 6f 64 65 73 | 20 77 68 69 63 68 20 64 | opcodes| which d|
|000000f0| 6f 20 6e 6f 74 20 65 78 | 69 73 74 20 69 6e 20 45 |o not ex|ist in E|
|00000100| 6d 61 63 73 20 31 38 2e | 0a 0a 28 69 66 20 28 61 |macs 18.|..(if (a|
|00000110| 6e 64 20 28 62 6f 75 6e | 64 70 20 27 65 6d 61 63 |nd (boun|dp 'emac|
|00000120| 73 2d 76 65 72 73 69 6f | 6e 29 0a 09 20 28 6f 72 |s-versio|n).. (or|
|00000130| 20 28 61 6e 64 20 28 62 | 6f 75 6e 64 70 20 27 65 | (and (b|oundp 'e|
|00000140| 70 6f 63 68 3a 3a 76 65 | 72 73 69 6f 6e 29 20 65 |poch::ve|rsion) e|
|00000150| 70 6f 63 68 3a 3a 76 65 | 72 73 69 6f 6e 29 0a 09 |poch::ve|rsion)..|
|00000160| 20 20 20 20 20 28 73 74 | 72 69 6e 67 2d 6c 65 73 | (st|ring-les|
|00000170| 73 70 20 65 6d 61 63 73 | 2d 76 65 72 73 69 6f 6e |sp emacs|-version|
|00000180| 20 22 31 39 22 29 29 29 | 0a 20 20 20 20 28 65 72 | "19")))|. (er|
|00000190| 72 6f 72 20 22 60 2f 68 | 6f 6d 65 2f 66 73 66 2f |ror "`/h|ome/fsf/|
|000001a0| 72 6d 73 2f 65 31 39 2f | 6c 69 73 70 2f 73 75 62 |rms/e19/|lisp/sub|
|000001b0| 72 2e 65 6c 27 20 77 61 | 73 20 63 6f 6d 70 69 6c |r.el' wa|s compil|
|000001c0| 65 64 20 66 6f 72 20 45 | 6d 61 63 73 20 31 39 22 |ed for E|macs 19"|
|000001d0| 29 29 0a 0a 28 64 65 66 | 61 6c 69 61 73 20 27 6c |))..(def|alias 'l|
|000001e0| 61 6d 62 64 61 20 27 28 | 6d 61 63 72 6f 20 2e 20 |ambda '(|macro . |
|000001f0| 23 5b 28 26 72 65 73 74 | 20 63 64 72 29 20 22 c0 |#[(&rest| cdr) ".|
|00000200| c1 5c 6e 42 44 87 22 20 | 5b 66 75 6e 63 74 69 6f |.\nBD." |[functio|
|00000210| 6e 20 6c 61 6d 62 64 61 | 20 63 64 72 5d 20 33 20 |n lambda| cdr] 3 |
|00000220| 22 5c 0a 52 65 74 75 72 | 6e 20 61 20 6c 61 6d 62 |"\.Retur|n a lamb|
|00000230| 64 61 20 65 78 70 72 65 | 73 73 69 6f 6e 2e 0a 41 |da expre|ssion..A|
|00000240| 20 63 61 6c 6c 20 6f 66 | 20 74 68 65 20 66 6f 72 | call of| the for|
|00000250| 6d 20 28 6c 61 6d 62 64 | 61 20 41 52 47 53 20 44 |m (lambd|a ARGS D|
|00000260| 4f 43 53 54 52 49 4e 47 | 20 49 4e 54 45 52 41 43 |OCSTRING| INTERAC|
|00000270| 54 49 56 45 20 42 4f 44 | 59 29 20 69 73 0a 73 65 |TIVE BOD|Y) is.se|
|00000280| 6c 66 2d 71 75 6f 74 69 | 6e 67 3b 20 74 68 65 20 |lf-quoti|ng; the |
|00000290| 72 65 73 75 6c 74 20 6f | 66 20 65 76 61 6c 75 61 |result o|f evalua|
|000002a0| 74 69 6e 67 20 74 68 65 | 20 6c 61 6d 62 64 61 20 |ting the| lambda |
|000002b0| 65 78 70 72 65 73 73 69 | 6f 6e 20 69 73 20 74 68 |expressi|on is th|
|000002c0| 65 0a 65 78 70 72 65 73 | 73 69 6f 6e 20 69 74 73 |e.expres|sion its|
|000002d0| 65 6c 66 2e 20 20 54 68 | 65 20 6c 61 6d 62 64 61 |elf. Th|e lambda|
|000002e0| 20 65 78 70 72 65 73 73 | 69 6f 6e 20 6d 61 79 20 | express|ion may |
|000002f0| 74 68 65 6e 20 62 65 20 | 74 72 65 61 74 65 64 20 |then be |treated |
|00000300| 61 73 20 61 0a 66 75 6e | 63 74 69 6f 6e 2c 20 69 |as a.fun|ction, i|
|00000310| 2e 20 65 2e 20 73 74 6f | 72 65 64 20 61 73 20 74 |. e. sto|red as t|
|00000320| 68 65 20 66 75 6e 63 74 | 69 6f 6e 20 76 61 6c 75 |he funct|ion valu|
|00000330| 65 20 6f 66 20 61 20 73 | 79 6d 62 6f 6c 2c 20 70 |e of a s|ymbol, p|
|00000340| 61 73 73 65 64 20 74 6f | 0a 66 75 6e 63 61 6c 6c |assed to|.funcall|
|00000350| 20 6f 72 20 6d 61 70 63 | 61 72 2c 20 65 74 63 65 | or mapc|ar, etce|
|00000360| 74 65 72 61 2e 0a 41 52 | 47 53 20 73 68 6f 75 6c |tera..AR|GS shoul|
|00000370| 64 20 74 61 6b 65 20 74 | 68 65 20 73 61 6d 65 20 |d take t|he same |
|00000380| 66 6f 72 6d 20 61 73 20 | 61 6e 20 61 72 67 75 6d |form as |an argum|
|00000390| 65 6e 74 20 6c 69 73 74 | 20 66 6f 72 20 61 20 60 |ent list| for a `|
|000003a0| 64 65 66 75 6e 27 2e 0a | 44 4f 43 53 54 52 49 4e |defun'..|DOCSTRIN|
|000003b0| 47 20 73 68 6f 75 6c 64 | 20 62 65 20 61 20 73 74 |G should| be a st|
|000003c0| 72 69 6e 67 2c 20 61 73 | 20 64 65 73 63 72 69 62 |ring, as| describ|
|000003d0| 65 64 20 66 6f 72 20 60 | 64 65 66 75 6e 27 2e 20 |ed for `|defun'. |
|000003e0| 20 49 74 20 6d 61 79 20 | 62 65 20 6f 6d 69 74 74 | It may |be omitt|
|000003f0| 65 64 2e 0a 49 4e 54 45 | 52 41 43 54 49 56 45 20 |ed..INTE|RACTIVE |
|00000400| 73 68 6f 75 6c 64 20 62 | 65 20 61 20 63 61 6c 6c |should b|e a call|
|00000410| 20 74 6f 20 74 68 65 20 | 66 75 6e 63 74 69 6f 6e | to the |function|
|00000420| 20 60 69 6e 74 65 72 61 | 63 74 69 76 65 27 2c 20 | `intera|ctive', |
|00000430| 77 68 69 63 68 20 73 65 | 65 2e 0a 49 74 20 6d 61 |which se|e..It ma|
|00000440| 79 20 61 6c 73 6f 20 62 | 65 20 6f 6d 69 74 74 65 |y also b|e omitte|
|00000450| 64 2e 0a 42 4f 44 59 20 | 73 68 6f 75 6c 64 20 62 |d..BODY |should b|
|00000460| 65 20 61 20 6c 69 73 74 | 20 6f 66 20 6c 69 73 70 |e a list| of lisp|
|00000470| 20 65 78 70 72 65 73 73 | 69 6f 6e 73 2e 22 5d 29 | express|ions."])|
|00000480| 29 0a 28 64 65 66 61 6c | 69 61 73 20 27 6f 6e 65 |).(defal|ias 'one|
|00000490| 2d 77 69 6e 64 6f 77 2d | 70 20 23 5b 28 26 6f 70 |-window-|p #[(&op|
|000004a0| 74 69 6f 6e 61 6c 20 6e | 6f 6d 69 6e 69 20 61 6c |tional n|omini al|
|000004b0| 6c 2d 66 72 61 6d 65 73 | 29 20 22 c0 20 19 5c 6e |l-frames|) ". .\n|
|000004c0| 83 12 00 09 c3 20 3d 83 | 12 00 c4 09 21 11 09 c4 |..... =.|....!...|
|000004d0| 09 5c 6e 85 1a 00 c5 0e | 06 23 29 3d 87 22 20 5b |.\n.....|.#)=." [|
|000004e0| 73 65 6c 65 63 74 65 64 | 2d 77 69 6e 64 6f 77 20 |selected|-window |
|000004f0| 62 61 73 65 2d 77 69 6e | 64 6f 77 20 6e 6f 6d 69 |base-win|dow nomi|
|00000500| 6e 69 20 6d 69 6e 69 62 | 75 66 66 65 72 2d 77 69 |ni minib|uffer-wi|
|00000510| 6e 64 6f 77 20 6e 65 78 | 74 2d 77 69 6e 64 6f 77 |ndow nex|t-window|
|00000520| 20 61 72 67 20 61 6c 6c | 2d 66 72 61 6d 65 73 5d | arg all|-frames]|
|00000530| 20 35 20 22 5c 0a 52 65 | 74 75 72 6e 73 20 6e 6f | 5 "\.Re|turns no|
|00000540| 6e 2d 6e 69 6c 20 69 66 | 20 74 68 65 20 73 65 6c |n-nil if| the sel|
|00000550| 65 63 74 65 64 20 77 69 | 6e 64 6f 77 20 69 73 20 |ected wi|ndow is |
|00000560| 74 68 65 20 6f 6e 6c 79 | 20 77 69 6e 64 6f 77 20 |the only| window |
|00000570| 28 69 6e 20 69 74 73 20 | 66 72 61 6d 65 29 2e 0a |(in its |frame)..|
|00000580| 4f 70 74 69 6f 6e 61 6c | 20 61 72 67 20 4e 4f 4d |Optional| arg NOM|
|00000590| 49 4e 49 20 6e 6f 6e 2d | 6e 69 6c 20 6d 65 61 6e |INI non-|nil mean|
|000005a0| 73 20 64 6f 6e 27 74 20 | 63 6f 75 6e 74 20 74 68 |s don't |count th|
|000005b0| 65 20 6d 69 6e 69 62 75 | 66 66 65 72 0a 65 76 65 |e minibu|ffer.eve|
|000005c0| 6e 20 69 66 20 69 74 20 | 69 73 20 61 63 74 69 76 |n if it |is activ|
|000005d0| 65 2e 0a 0a 54 68 65 20 | 6f 70 74 69 6f 6e 61 6c |e...The |optional|
|000005e0| 20 61 72 67 20 41 4c 4c | 2d 46 52 41 4d 45 53 20 | arg ALL|-FRAMES |
|000005f0| 74 20 6d 65 61 6e 73 20 | 63 6f 75 6e 74 20 77 69 |t means |count wi|
|00000600| 6e 64 6f 77 73 20 6f 6e | 20 61 6c 6c 20 66 72 61 |ndows on| all fra|
|00000610| 6d 65 73 2e 0a 49 66 20 | 69 74 20 69 73 20 60 76 |mes..If |it is `v|
|00000620| 69 73 69 62 6c 65 27 2c | 20 63 6f 75 6e 74 20 77 |isible',| count w|
|00000630| 69 6e 64 6f 77 73 20 6f | 6e 20 61 6c 6c 20 76 69 |indows o|n all vi|
|00000640| 73 69 62 6c 65 20 66 72 | 61 6d 65 73 2e 0a 41 4c |sible fr|ames..AL|
|00000650| 4c 2d 46 52 41 4d 45 53 | 20 6e 69 6c 20 6f 72 20 |L-FRAMES| nil or |
|00000660| 6f 6d 69 74 74 65 64 20 | 6d 65 61 6e 73 20 63 6f |omitted |means co|
|00000670| 75 6e 74 20 6f 6e 6c 79 | 20 74 68 65 20 73 65 6c |unt only| the sel|
|00000680| 65 63 74 65 64 20 66 72 | 61 6d 65 2c 20 0a 70 6c |ected fr|ame, .pl|
|00000690| 75 73 20 74 68 65 20 6d | 69 6e 69 62 75 66 66 65 |us the m|inibuffe|
|000006a0| 72 20 69 74 20 75 73 65 | 73 20 28 77 68 69 63 68 |r it use|s (which|
|000006b0| 20 6d 61 79 20 62 65 20 | 6f 6e 20 61 6e 6f 74 68 | may be |on anoth|
|000006c0| 65 72 20 66 72 61 6d 65 | 29 2e 0a 49 66 20 41 4c |er frame|)..If AL|
|000006d0| 4c 2d 46 52 41 4d 45 53 | 20 69 73 20 6e 65 69 74 |L-FRAMES| is neit|
|000006e0| 68 65 72 20 6e 69 6c 20 | 6e 6f 72 20 74 2c 20 63 |her nil |nor t, c|
|000006f0| 6f 75 6e 74 20 6f 6e 6c | 79 20 74 68 65 20 73 65 |ount onl|y the se|
|00000700| 6c 65 63 74 65 64 20 66 | 72 61 6d 65 2e 22 5d 29 |lected f|rame."])|
|00000710| 0a 28 64 65 66 61 6c 69 | 61 73 20 27 77 61 6c 6b |.(defali|as 'walk|
|00000720| 2d 77 69 6e 64 6f 77 73 | 20 23 5b 28 70 72 6f 63 |-windows| #[(proc|
|00000730| 20 26 6f 70 74 69 6f 6e | 61 6c 20 6d 69 6e 69 62 | &option|al minib|
|00000740| 75 66 20 61 6c 6c 2d 66 | 72 61 6d 65 73 29 20 22 |uf all-f|rames) "|
|00000750| c0 c1 20 21 83 09 00 c2 | 13 c1 20 89 1c 1d c6 0d |.. !....|.. .....|
|00000760| 0b 0e 07 23 15 0e 08 0d | 21 88 0d 5c 66 3d 3f 85 |...#....|!..\f=?.|
|00000770| 24 00 82 0e 00 2a 87 22 | 20 5b 77 69 6e 64 6f 77 |$....*."| [window|
|00000780| 2d 6d 69 6e 69 62 75 66 | 66 65 72 2d 70 20 73 65 |-minibuf|fer-p se|
|00000790| 6c 65 63 74 65 64 2d 77 | 69 6e 64 6f 77 20 74 20 |lected-w|indow t |
|000007a0| 6d 69 6e 69 62 75 66 20 | 77 61 6c 6b 2d 77 69 6e |minibuf |walk-win|
|000007b0| 64 6f 77 73 2d 73 74 61 | 72 74 20 77 61 6c 6b 2d |dows-sta|rt walk-|
|000007c0| 77 69 6e 64 6f 77 73 2d | 63 75 72 72 65 6e 74 20 |windows-|current |
|000007d0| 6e 65 78 74 2d 77 69 6e | 64 6f 77 20 61 6c 6c 2d |next-win|dow all-|
|000007e0| 66 72 61 6d 65 73 20 70 | 72 6f 63 5d 20 35 20 22 |frames p|roc] 5 "|
|000007f0| 5c 0a 43 79 63 6c 65 20 | 74 68 72 6f 75 67 68 20 |\.Cycle |through |
|00000800| 61 6c 6c 20 76 69 73 69 | 62 6c 65 20 77 69 6e 64 |all visi|ble wind|
|00000810| 6f 77 73 2c 20 63 61 6c | 6c 69 6e 67 20 50 52 4f |ows, cal|ling PRO|
|00000820| 43 20 66 6f 72 20 65 61 | 63 68 20 6f 6e 65 2e 0a |C for ea|ch one..|
|00000830| 50 52 4f 43 20 69 73 20 | 63 61 6c 6c 65 64 20 77 |PROC is |called w|
|00000840| 69 74 68 20 61 20 77 69 | 6e 64 6f 77 20 61 73 20 |ith a wi|ndow as |
|00000850| 61 72 67 75 6d 65 6e 74 | 2e 0a 4f 70 74 69 6f 6e |argument|..Option|
|00000860| 61 6c 20 73 65 63 6f 6e | 64 20 61 72 67 20 4d 49 |al secon|d arg MI|
|00000870| 4e 49 42 55 46 20 74 20 | 6d 65 61 6e 73 20 63 6f |NIBUF t |means co|
|00000880| 75 6e 74 20 74 68 65 20 | 6d 69 6e 69 62 75 66 66 |unt the |minibuff|
|00000890| 65 72 20 77 69 6e 64 6f | 77 0a 65 76 65 6e 20 69 |er windo|w.even i|
|000008a0| 66 20 6e 6f 74 20 61 63 | 74 69 76 65 2e 20 20 49 |f not ac|tive. I|
|000008b0| 66 20 4d 49 4e 49 42 55 | 46 20 69 73 20 6e 65 69 |f MINIBU|F is nei|
|000008c0| 74 68 65 72 20 74 20 6e | 6f 72 20 6e 69 6c 20 69 |ther t n|or nil i|
|000008d0| 74 20 6d 65 61 6e 73 0a | 6e 6f 74 20 74 6f 20 63 |t means.|not to c|
|000008e0| 6f 75 6e 74 20 74 68 65 | 20 6d 69 6e 69 62 75 66 |ount the| minibuf|
|000008f0| 66 65 72 20 65 76 65 6e | 20 69 66 20 69 74 20 69 |fer even| if it i|
|00000900| 73 20 61 63 74 69 76 65 | 2e 0a 0a 4f 70 74 69 6f |s active|...Optio|
|00000910| 6e 61 6c 20 74 68 69 72 | 64 20 61 72 67 20 41 4c |nal thir|d arg AL|
|00000920| 4c 2d 46 52 41 4d 45 53 | 2c 20 69 66 20 74 2c 20 |L-FRAMES|, if t, |
|00000930| 6d 65 61 6e 73 20 69 6e | 63 6c 75 64 65 20 61 6c |means in|clude al|
|00000940| 6c 20 66 72 61 6d 65 73 | 2e 0a 41 4c 4c 2d 46 52 |l frames|..ALL-FR|
|00000950| 41 4d 45 53 20 6e 69 6c | 20 6f 72 20 6f 6d 69 74 |AMES nil| or omit|
|00000960| 74 65 64 20 6d 65 61 6e | 73 20 63 79 63 6c 65 20 |ted mean|s cycle |
|00000970| 77 69 74 68 69 6e 20 74 | 68 65 20 73 65 6c 65 63 |within t|he selec|
|00000980| 74 65 64 20 66 72 61 6d | 65 2c 0a 62 75 74 20 69 |ted fram|e,.but i|
|00000990| 6e 63 6c 75 64 65 20 74 | 68 65 20 6d 69 6e 69 62 |nclude t|he minib|
|000009a0| 75 66 66 65 72 20 77 69 | 6e 64 6f 77 20 28 69 66 |uffer wi|ndow (if|
|000009b0| 20 4d 49 4e 49 42 55 46 | 20 73 61 79 73 20 73 6f | MINIBUF| says so|
|000009c0| 29 20 74 68 61 74 20 74 | 68 61 74 0a 66 72 61 6d |) that t|hat.fram|
|000009d0| 65 20 75 73 65 73 2c 20 | 65 76 65 6e 20 69 66 20 |e uses, |even if |
|000009e0| 69 74 20 69 73 20 6f 6e | 20 61 6e 6f 74 68 65 72 |it is on| another|
|000009f0| 20 66 72 61 6d 65 2e 0a | 49 66 20 41 4c 4c 2d 46 | frame..|If ALL-F|
|00000a00| 52 41 4d 45 53 20 69 73 | 20 6e 65 69 74 68 65 72 |RAMES is| neither|
|00000a10| 20 6e 69 6c 20 6e 6f 72 | 20 74 2c 20 73 74 69 63 | nil nor| t, stic|
|00000a20| 6b 20 73 74 72 69 63 74 | 6c 79 20 74 6f 20 74 68 |k strict|ly to th|
|00000a30| 65 20 73 65 6c 65 63 74 | 65 64 20 66 72 61 6d 65 |e select|ed frame|
|00000a40| 2e 22 5d 29 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |."]).(de|falias '|
|00000a50| 6d 69 6e 69 62 75 66 66 | 65 72 2d 77 69 6e 64 6f |minibuff|er-windo|
|00000a60| 77 2d 61 63 74 69 76 65 | 2d 70 20 23 5b 28 77 69 |w-active|-p #[(wi|
|00000a70| 6e 64 6f 77 29 20 22 c0 | 09 c2 89 23 1b 09 0b 3d |ndow) ".|...#...=|
|00000a80| 3f 85 17 00 c4 0b c2 89 | 23 89 1d 09 29 3d 29 87 |?.......|#...)=).|
|00000a90| 22 20 5b 70 72 65 76 69 | 6f 75 73 2d 77 69 6e 64 |" [previ|ous-wind|
|00000aa0| 6f 77 20 77 69 6e 64 6f | 77 20 6e 69 6c 20 70 72 |ow windo|w nil pr|
|00000ab0| 65 76 20 6e 65 78 74 2d | 77 69 6e 64 6f 77 20 73 |ev next-|window s|
|00000ac0| 68 6f 75 6c 64 2d 62 65 | 2d 73 61 6d 65 5d 20 35 |hould-be|-same] 5|
|00000ad0| 20 22 5c 0a 52 65 74 75 | 72 6e 20 74 20 69 66 20 | "\.Retu|rn t if |
|00000ae0| 57 49 4e 44 4f 57 20 28 | 61 20 6d 69 6e 69 62 75 |WINDOW (|a minibu|
|00000af0| 66 66 65 72 20 77 69 6e | 64 6f 77 29 20 69 73 20 |ffer win|dow) is |
|00000b00| 6e 6f 77 20 61 63 74 69 | 76 65 2e 22 5d 29 0a 28 |now acti|ve."]).(|
|00000b10| 62 79 74 65 2d 63 6f 64 | 65 20 22 c0 c1 c2 5c 22 |byte-cod|e "...\"|
|00000b20| 88 c3 c1 c4 c5 23 87 22 | 20 5b 64 65 66 61 6c 69 |.....#."| [defali|
|00000b30| 61 73 20 75 6e 64 65 66 | 69 6e 65 64 20 23 5b 6e |as undef|ined #[n|
|00000b40| 69 6c 20 22 c0 20 87 22 | 20 5b 64 69 6e 67 5d 20 |il ". ."| [ding] |
|00000b50| 31 20 6e 69 6c 20 6e 69 | 6c 5d 20 70 75 74 20 73 |1 nil ni|l] put s|
|00000b60| 75 70 70 72 65 73 73 2d | 6b 65 79 6d 61 70 20 74 |uppress-|keymap t|
|00000b70| 5d 20 34 29 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |] 4).(de|falias '|
|00000b80| 73 75 70 70 72 65 73 73 | 2d 6b 65 79 6d 61 70 20 |suppress|-keymap |
|00000b90| 23 5b 28 6d 61 70 20 26 | 6f 70 74 69 6f 6e 61 6c |#[(map &|optional|
|00000ba0| 20 6e 6f 64 69 67 69 74 | 73 29 20 22 c0 c1 c2 0b | nodigit|s) "....|
|00000bb0| 5c 66 24 88 0d 86 30 00 | c6 1e 07 c8 0b c9 ca 23 |\f$...0.|.......#|
|00000bc0| 88 cb 16 07 cb cc 58 85 | 2f 00 c8 0b cd 0e 07 21 |......X.|/......!|
|00000bd0| ce 23 88 0e 07 54 89 16 | 07 82 18 00 29 87 22 20 |.#...T..|....)." |
|00000be0| 5b 73 75 62 73 74 69 74 | 75 74 65 2d 6b 65 79 2d |[substit|ute-key-|
|00000bf0| 64 65 66 69 6e 69 74 69 | 6f 6e 20 73 65 6c 66 2d |definiti|on self-|
|00000c00| 69 6e 73 65 72 74 2d 63 | 6f 6d 6d 61 6e 64 20 75 |insert-c|ommand u|
|00000c10| 6e 64 65 66 69 6e 65 64 | 20 6d 61 70 20 67 6c 6f |ndefined| map glo|
|00000c20| 62 61 6c 2d 6d 61 70 20 | 6e 6f 64 69 67 69 74 73 |bal-map |nodigits|
|00000c30| 20 6e 69 6c 20 6c 6f 6f | 70 20 64 65 66 69 6e 65 | nil loo|p define|
|00000c40| 2d 6b 65 79 20 22 2d 22 | 20 6e 65 67 61 74 69 76 |-key "-"| negativ|
|00000c50| 65 2d 61 72 67 75 6d 65 | 6e 74 20 34 38 20 35 37 |e-argume|nt 48 57|
|00000c60| 20 63 68 61 72 2d 74 6f | 2d 73 74 72 69 6e 67 20 | char-to|-string |
|00000c70| 64 69 67 69 74 2d 61 72 | 67 75 6d 65 6e 74 5d 20 |digit-ar|gument] |
|00000c80| 36 20 22 5c 0a 4d 61 6b | 65 20 4d 41 50 20 6f 76 |6 "\.Mak|e MAP ov|
|00000c90| 65 72 72 69 64 65 20 61 | 6c 6c 20 6e 6f 72 6d 61 |erride a|ll norma|
|00000ca0| 6c 6c 79 20 73 65 6c 66 | 2d 69 6e 73 65 72 74 69 |lly self|-inserti|
|00000cb0| 6e 67 20 6b 65 79 73 20 | 74 6f 20 62 65 20 75 6e |ng keys |to be un|
|00000cc0| 64 65 66 69 6e 65 64 2e | 0a 4e 6f 72 6d 61 6c 6c |defined.|.Normall|
|00000cd0| 79 2c 20 61 73 20 61 6e | 20 65 78 63 65 70 74 69 |y, as an| excepti|
|00000ce0| 6f 6e 2c 20 64 69 67 69 | 74 73 20 61 6e 64 20 6d |on, digi|ts and m|
|00000cf0| 69 6e 75 73 2d 73 69 67 | 6e 20 61 72 65 20 73 65 |inus-sig|n are se|
|00000d00| 74 20 74 6f 20 6d 61 6b | 65 20 70 72 65 66 69 78 |t to mak|e prefix|
|00000d10| 20 61 72 67 73 2c 0a 62 | 75 74 20 6f 70 74 69 6f | args,.b|ut optio|
|00000d20| 6e 61 6c 20 73 65 63 6f | 6e 64 20 61 72 67 20 4e |nal seco|nd arg N|
|00000d30| 4f 44 49 47 49 54 53 20 | 6e 6f 6e 2d 6e 69 6c 20 |ODIGITS |non-nil |
|00000d40| 74 72 65 61 74 73 20 74 | 68 65 6d 20 6c 69 6b 65 |treats t|hem like|
|00000d50| 20 6f 74 68 65 72 20 63 | 68 61 72 73 2e 22 5d 29 | other c|hars."])|
|00000d60| 0a 28 64 65 66 76 61 72 | 20 6b 65 79 2d 73 75 62 |.(defvar| key-sub|
|00000d70| 73 74 69 74 75 74 69 6f | 6e 2d 69 6e 2d 70 72 6f |stitutio|n-in-pro|
|00000d80| 67 72 65 73 73 20 6e 69 | 6c 20 22 5c 0a 55 73 65 |gress ni|l "\.Use|
|00000d90| 64 20 69 6e 74 65 72 6e | 61 6c 6c 79 20 62 79 20 |d intern|ally by |
|00000da0| 73 75 62 73 74 69 74 75 | 74 65 2d 6b 65 79 2d 64 |substitu|te-key-d|
|00000db0| 65 66 69 6e 69 74 69 6f | 6e 2e 22 29 0a 28 64 65 |efinitio|n.").(de|
|00000dc0| 66 61 6c 69 61 73 20 27 | 73 75 62 73 74 69 74 75 |falias '|substitu|
|00000dd0| 74 65 2d 6b 65 79 2d 64 | 65 66 69 6e 69 74 69 6f |te-key-d|efinitio|
|00000de0| 6e 20 23 5b 28 6f 6c 64 | 64 65 66 20 6e 65 77 64 |n #[(old|def newd|
|00000df0| 65 66 20 6b 65 79 6d 61 | 70 20 26 6f 70 74 69 6f |ef keyma|p &optio|
|00000e00| 6e 61 6c 20 6f 6c 64 6d | 61 70 20 70 72 65 66 69 |nal oldm|ap prefi|
|00000e10| 78 29 20 22 08 84 06 00 | c1 10 5c 6e 86 0b 00 0b |x) "....|..\n....|
|00000e20| 1c c5 c6 21 1e 07 c8 08 | 0e 07 5c 22 1e 09 5c 66 |...!....|..\"..\f|
|00000e30| 0e 5c 6e 42 1e 5c 6e 5c | 66 3a 85 81 01 5c 66 40 |.\nB.\n\|f:...\f@|
|00000e40| 3a 83 c1 00 5c 66 40 40 | 5c 66 40 41 1e 0b 1e 5c |:...\f@@|\f@A...\|
|00000e50| 66 0e 07 cd 0e 5c 66 49 | 88 0e 09 08 47 0e 5c 66 |f....\fI|....G.\f|
|00000e60| 49 88 c6 89 1e 0e 1e 0f | 0e 0b a2 3b 83 60 00 0e |I.......|...;.`..|
|00000e70| 0b 40 0e 0e 42 16 0e 0e | 0b 41 89 16 0b 82 4a 00 |.@..B...|.A....J.|
|00000e80| 0e 0b 3a 83 72 00 0e 0b | 40 3a 83 72 00 0e 0b 41 |..:.r...|@:.r...A|
|00000e90| 16 0b 0e 0b 89 16 0f 39 | 83 8b 00 d0 0e 0f 21 83 |.......9|......!.|
|00000ea0| 8b 00 0e 0f 4b 89 16 0f | 82 77 00 0e 0b 0e 11 3d |....K...|.w.....=|
|00000eb0| 83 a2 00 d2 0b 0e 09 0e | 0e 9f 0e 13 a4 23 88 82 |........|.....#..|
|00000ec0| bd 00 d4 0e 0b 21 83 bd | 00 0e 0f 0e 5c 6e 3e 84 |.....!..|....\n>.|
|00000ed0| bd 00 d5 0e 11 0e 13 0b | 0e 0f 0e 09 25 88 2c 82 |........|....%.,.|
|00000ee0| 7a 01 d6 5c 66 40 21 83 | 7a 01 5c 66 40 89 1e 17 |z..\f@!.|z.\f@...|
|00000ef0| 47 1e 18 cd 1e 19 cd 0e | 18 57 83 79 01 0e 19 0e |G.......|.W.y....|
|00000f00| 17 0e 19 48 1e 0b 1e 5c | 66 0e 07 cd 0e 5c 66 49 |...H...\|f....\fI|
|00000f10| 88 0e 09 08 47 0e 5c 66 | 49 88 c6 89 1e 0e 1e 0f |....G.\f|I.......|
|00000f20| 0e 0b a2 3b 83 12 01 0e | 0b 40 0e 0e 42 16 0e 0e |...;....|.@..B...|
|00000f30| 0b 41 89 16 0b 82 fc 00 | 0e 0b 3a 83 24 01 0e 0b |.A......|..:.$...|
|00000f40| 40 3a 83 24 01 0e 0b 41 | 16 0b 0e 0b 89 16 0f 39 |@:.$...A|.......9|
|00000f50| 83 3d 01 d0 0e 0f 21 83 | 3d 01 0e 0f 4b 89 16 0f |.=....!.|=...K...|
|00000f60| 82 29 01 0e 0b 0e 11 3d | 83 54 01 d2 0b 0e 09 0e |.).....=|.T......|
|00000f70| 0e 9f 0e 13 a4 23 88 82 | 6f 01 d4 0e 0b 21 83 6f |.....#..|o....!.o|
|00000f80| 01 0e 0f 0e 5c 6e 3e 84 | 6f 01 d5 0e 11 0e 13 0b |....\n>.|o.......|
|00000f90| 0e 0f 0e 09 25 88 2c 0e | 19 54 89 16 19 82 d4 00 |....%.,.|.T......|
|00000fa0| 2b 5c 66 41 89 14 82 1f | 00 2c 87 22 20 5b 70 72 |+\fA....|.,." [pr|
|00000fb0| 65 66 69 78 20 22 22 20 | 6f 6c 64 6d 61 70 20 6b |efix "" |oldmap k|
|00000fc0| 65 79 6d 61 70 20 73 63 | 61 6e 20 76 65 63 74 6f |eymap sc|an vecto|
|00000fd0| 72 20 6e 69 6c 20 76 65 | 63 31 20 76 63 6f 6e 63 |r nil ve|c1 vconc|
|00000fe0| 61 74 20 70 72 65 66 69 | 78 31 20 6b 65 79 2d 73 |at prefi|x1 key-s|
|00000ff0| 75 62 73 74 69 74 75 74 | 69 6f 6e 2d 69 6e 2d 70 |ubstitut|ion-in-p|
|00001000| 72 6f 67 72 65 73 73 20 | 64 65 66 6e 20 63 68 61 |rogress |defn cha|
|00001010| 72 20 30 20 73 6b 69 70 | 70 65 64 20 69 6e 6e 65 |r 0 skip|ped inne|
|00001020| 72 2d 64 65 66 20 66 62 | 6f 75 6e 64 70 20 6f 6c |r-def fb|oundp ol|
|00001030| 64 64 65 66 20 64 65 66 | 69 6e 65 2d 6b 65 79 20 |ddef def|ine-key |
|00001040| 6e 65 77 64 65 66 20 6b | 65 79 6d 61 70 70 20 73 |newdef k|eymapp s|
|00001050| 75 62 73 74 69 74 75 74 | 65 2d 6b 65 79 2d 64 65 |ubstitut|e-key-de|
|00001060| 66 69 6e 69 74 69 6f 6e | 20 61 72 72 61 79 70 20 |finition| arrayp |
|00001070| 61 72 72 61 79 20 6c 65 | 6e 20 69 5d 20 37 20 22 |array le|n i] 7 "|
|00001080| 5c 0a 52 65 70 6c 61 63 | 65 20 4f 4c 44 44 45 46 |\.Replac|e OLDDEF|
|00001090| 20 77 69 74 68 20 4e 45 | 57 44 45 46 20 66 6f 72 | with NE|WDEF for|
|000010a0| 20 61 6e 79 20 6b 65 79 | 73 20 69 6e 20 4b 45 59 | any key|s in KEY|
|000010b0| 4d 41 50 20 6e 6f 77 20 | 64 65 66 69 6e 65 64 20 |MAP now |defined |
|000010c0| 61 73 20 4f 4c 44 44 45 | 46 2e 0a 49 6e 20 6f 74 |as OLDDE|F..In ot|
|000010d0| 68 65 72 20 77 6f 72 64 | 73 2c 20 4f 4c 44 44 45 |her word|s, OLDDE|
|000010e0| 46 20 69 73 20 72 65 70 | 6c 61 63 65 64 20 77 69 |F is rep|laced wi|
|000010f0| 74 68 20 4e 45 57 44 45 | 46 20 77 68 65 72 65 20 |th NEWDE|F where |
|00001100| 65 76 65 72 20 69 74 20 | 61 70 70 65 61 72 73 2e |ever it |appears.|
|00001110| 0a 49 66 20 6f 70 74 69 | 6f 6e 61 6c 20 66 6f 75 |.If opti|onal fou|
|00001120| 72 74 68 20 61 72 67 75 | 6d 65 6e 74 20 4f 4c 44 |rth argu|ment OLD|
|00001130| 4d 41 50 20 69 73 20 73 | 70 65 63 69 66 69 65 64 |MAP is s|pecified|
|00001140| 2c 20 77 65 20 72 65 64 | 65 66 69 6e 65 0a 69 6e |, we red|efine.in|
|00001150| 20 4b 45 59 4d 41 50 20 | 61 73 20 4e 45 57 44 45 | KEYMAP |as NEWDE|
|00001160| 46 20 74 68 6f 73 65 20 | 63 68 61 72 73 20 77 68 |F those |chars wh|
|00001170| 69 63 68 20 61 72 65 20 | 64 65 66 69 6e 65 64 20 |ich are |defined |
|00001180| 61 73 20 4f 4c 44 44 45 | 46 20 69 6e 20 4f 4c 44 |as OLDDE|F in OLD|
|00001190| 4d 41 50 2e 22 5d 29 0a | 28 64 65 66 61 6c 69 61 |MAP."]).|(defalia|
|000011a0| 73 20 27 64 65 66 69 6e | 65 2d 6b 65 79 2d 61 66 |s 'defin|e-key-af|
|000011b0| 74 65 72 20 23 5b 28 6b | 65 79 6d 61 70 20 6b 65 |ter #[(k|eymap ke|
|000011c0| 79 20 64 65 66 69 6e 69 | 74 69 6f 6e 20 61 66 74 |y defini|tion aft|
|000011d0| 65 72 29 20 22 c0 09 21 | 84 0d 00 c2 c3 c0 09 44 |er) "..!|.......D|
|000011e0| 5c 22 88 5c 66 47 c5 56 | 83 18 00 c6 c7 21 88 09 |\".\fG.V|.....!..|
|000011f0| c8 89 5c 66 c9 48 1e 5c | 6e 1e 0b 1e 5c 66 1e 0d |..\f.H.\|n...\f..|
|00001200| 0e 5c 66 3f 85 86 00 0e | 0d 85 86 00 0e 0d 41 40 |.\f?....|......A@|
|00001210| a2 0e 5c 6e 3d 83 43 00 | 0e 0d 89 41 41 a1 88 0e |..\n=.C.|...AA...|
|00001220| 0d 40 a2 0e 0e 3d 84 5c | 5c 00 0e 0d 41 40 c1 3d |.@...=.\|\...A@.=|
|00001230| 84 5c 5c 00 0e 0d 41 84 | 7e 00 0e 0d 41 40 c1 3d |.\\...A.|~...A@.=|
|00001240| 83 68 00 cf 16 5c 66 0e | 0b 84 7b 00 0e 0d 5c 66 |.h...\f.|..{...\f|
|00001250| c9 48 0e 10 42 0e 0d 41 | 42 a1 88 cf 16 0b 0e 0d |.H..B..A|B.......|
|00001260| 41 16 0d 82 26 00 2c 87 | 22 20 5b 6b 65 79 6d 61 |A...&.,.|" [keyma|
|00001270| 70 70 20 6b 65 79 6d 61 | 70 20 73 69 67 6e 61 6c |pp keyma|p signal|
|00001280| 20 77 72 6f 6e 67 2d 74 | 79 70 65 2d 61 72 67 75 | wrong-t|ype-argu|
|00001290| 6d 65 6e 74 20 6b 65 79 | 20 31 20 65 72 72 6f 72 |ment key| 1 error|
|000012a0| 20 22 6d 75 6c 74 69 2d | 65 76 65 6e 74 20 6b 65 | "multi-|event ke|
|000012b0| 79 20 73 70 65 63 69 66 | 69 65 64 20 69 6e 20 60 |y specif|ied in `|
|000012c0| 64 65 66 69 6e 65 2d 6b | 65 79 2d 61 66 74 65 72 |define-k|ey-after|
|000012d0| 27 22 20 6e 69 6c 20 30 | 20 66 69 72 73 74 20 69 |'" nil 0| first i|
|000012e0| 6e 73 65 72 74 65 64 20 | 64 6f 6e 65 20 74 61 69 |nserted |done tai|
|000012f0| 6c 20 61 66 74 65 72 20 | 74 20 64 65 66 69 6e 69 |l after |t defini|
|00001300| 74 69 6f 6e 5d 20 35 20 | 22 5c 0a 41 64 64 20 62 |tion] 5 |"\.Add b|
|00001310| 69 6e 64 69 6e 67 20 69 | 6e 20 4b 45 59 4d 41 50 |inding i|n KEYMAP|
|00001320| 20 66 6f 72 20 4b 45 59 | 20 3d 3e 20 44 45 46 49 | for KEY| => DEFI|
|00001330| 4e 49 54 49 4f 4e 2c 20 | 72 69 67 68 74 20 61 66 |NITION, |right af|
|00001340| 74 65 72 20 41 46 54 45 | 52 27 73 20 62 69 6e 64 |ter AFTE|R's bind|
|00001350| 69 6e 67 2e 0a 54 68 69 | 73 20 69 73 20 6c 69 6b |ing..Thi|s is lik|
|00001360| 65 20 60 64 65 66 69 6e | 65 2d 6b 65 79 27 20 65 |e `defin|e-key' e|
|00001370| 78 63 65 70 74 20 74 68 | 61 74 20 74 68 65 20 62 |xcept th|at the b|
|00001380| 69 6e 64 69 6e 67 20 66 | 6f 72 20 4b 45 59 20 69 |inding f|or KEY i|
|00001390| 73 20 70 6c 61 63 65 64 | 0a 6a 75 73 74 20 61 66 |s placed|.just af|
|000013a0| 74 65 72 20 74 68 65 20 | 62 69 6e 64 69 6e 67 20 |ter the |binding |
|000013b0| 66 6f 72 20 74 68 65 20 | 65 76 65 6e 74 20 41 46 |for the |event AF|
|000013c0| 54 45 52 2c 20 69 6e 73 | 74 65 61 64 20 6f 66 20 |TER, ins|tead of |
|000013d0| 61 74 20 74 68 65 20 62 | 65 67 69 6e 6e 69 6e 67 |at the b|eginning|
|000013e0| 0a 6f 66 20 74 68 65 20 | 6d 61 70 2e 0a 54 68 65 |.of the |map..The|
|000013f0| 20 6f 72 64 65 72 20 6d | 61 74 74 65 72 73 20 77 | order m|atters w|
|00001400| 68 65 6e 20 74 68 65 20 | 6b 65 79 6d 61 70 20 69 |hen the |keymap i|
|00001410| 73 20 75 73 65 64 20 61 | 73 20 61 20 6d 65 6e 75 |s used a|s a menu|
|00001420| 2e 0a 4b 45 59 20 6d 75 | 73 74 20 63 6f 6e 74 61 |..KEY mu|st conta|
|00001430| 69 6e 20 6a 75 73 74 20 | 6f 6e 65 20 65 76 65 6e |in just |one even|
|00001440| 74 20 74 79 70 65 2d 2d | 74 68 61 74 20 69 73 20 |t type--|that is |
|00001450| 74 6f 20 73 61 79 2c 20 | 69 74 20 6d 75 73 74 20 |to say, |it must |
|00001460| 62 65 0a 61 20 73 74 72 | 69 6e 67 20 6f 72 20 76 |be.a str|ing or v|
|00001470| 65 63 74 6f 72 20 6f 66 | 20 6c 65 6e 67 74 68 20 |ector of| length |
|00001480| 31 2e 22 5d 29 0a 28 64 | 65 66 61 6c 69 61 73 20 |1."]).(d|efalias |
|00001490| 27 6b 65 79 62 6f 61 72 | 64 2d 74 72 61 6e 73 6c |'keyboar|d-transl|
|000014a0| 61 74 65 20 23 5b 28 66 | 72 6f 6d 20 74 6f 29 20 |ate #[(f|rom to) |
|000014b0| 22 c0 09 21 84 08 00 c2 | 11 0b 09 47 56 84 16 00 |"..!....|...GV...|
|000014c0| 5c 66 09 47 56 83 3a 00 | 09 47 1d 09 c6 c7 0d 5a |\f.GV.:.|.G.....Z|
|000014d0| c8 5c 22 50 1e 09 0d c7 | 57 83 36 00 0e 09 0d 89 |.\"P....|W.6.....|
|000014e0| 49 88 0d 54 89 15 82 24 | 00 0e 09 11 2a 09 0b 5c |I..T...$|....*..\|
|000014f0| 66 49 87 22 20 5b 61 72 | 72 61 79 70 20 6b 65 79 |fI." [ar|rayp key|
|00001500| 62 6f 61 72 64 2d 74 72 | 61 6e 73 6c 61 74 65 2d |board-tr|anslate-|
|00001510| 74 61 62 6c 65 20 22 22 | 20 66 72 6f 6d 20 74 6f |table ""| from to|
|00001520| 20 69 20 6d 61 6b 65 2d | 73 74 72 69 6e 67 20 32 | i make-|string 2|
|00001530| 35 36 20 30 20 74 61 62 | 6c 65 5d 20 35 20 22 5c |56 0 tab|le] 5 "\|
|00001540| 0a 54 72 61 6e 73 6c 61 | 74 65 20 63 68 61 72 61 |.Transla|te chara|
|00001550| 63 74 65 72 20 46 52 4f | 4d 20 74 6f 20 54 4f 20 |cter FRO|M to TO |
|00001560| 61 74 20 61 20 6c 6f 77 | 20 6c 65 76 65 6c 2e 0a |at a low| level..|
|00001570| 54 68 69 73 20 66 75 6e | 63 74 69 6f 6e 20 63 72 |This fun|ction cr|
|00001580| 65 61 74 65 73 20 61 20 | 60 6b 65 79 62 6f 61 72 |eates a |`keyboar|
|00001590| 64 2d 74 72 61 6e 73 6c | 61 74 65 2d 74 61 62 6c |d-transl|ate-tabl|
|000015a0| 65 27 20 69 66 20 6e 65 | 63 65 73 73 61 72 79 0a |e' if ne|cessary.|
|000015b0| 61 6e 64 20 74 68 65 6e | 20 6d 6f 64 69 66 69 65 |and then| modifie|
|000015c0| 73 20 6f 6e 65 20 65 6e | 74 72 79 20 69 6e 20 69 |s one en|try in i|
|000015d0| 74 2e 22 5d 29 0a 28 64 | 65 66 76 61 72 20 67 6c |t."]).(d|efvar gl|
|000015e0| 6f 62 61 6c 2d 6d 61 70 | 20 6e 69 6c 20 22 5c 0a |obal-map| nil "\.|
|000015f0| 44 65 66 61 75 6c 74 20 | 67 6c 6f 62 61 6c 20 6b |Default |global k|
|00001600| 65 79 6d 61 70 20 6d 61 | 70 70 69 6e 67 20 45 6d |eymap ma|pping Em|
|00001610| 61 63 73 20 6b 65 79 62 | 6f 61 72 64 20 69 6e 70 |acs keyb|oard inp|
|00001620| 75 74 20 69 6e 74 6f 20 | 63 6f 6d 6d 61 6e 64 73 |ut into |commands|
|00001630| 2e 0a 54 68 65 20 76 61 | 6c 75 65 20 69 73 20 61 |..The va|lue is a|
|00001640| 20 6b 65 79 6d 61 70 20 | 77 68 69 63 68 20 69 73 | keymap |which is|
|00001650| 20 75 73 75 61 6c 6c 79 | 20 28 62 75 74 20 6e 6f | usually| (but no|
|00001660| 74 20 6e 65 63 65 73 73 | 61 72 69 6c 79 29 20 45 |t necess|arily) E|
|00001670| 6d 61 63 73 27 73 0a 67 | 6c 6f 62 61 6c 20 6d 61 |macs's.g|lobal ma|
|00001680| 70 2e 22 29 0a 28 64 65 | 66 76 61 72 20 65 73 63 |p.").(de|fvar esc|
|00001690| 2d 6d 61 70 20 6e 69 6c | 20 22 5c 0a 44 65 66 61 |-map nil| "\.Defa|
|000016a0| 75 6c 74 20 6b 65 79 6d | 61 70 20 66 6f 72 20 45 |ult keym|ap for E|
|000016b0| 53 43 20 28 6d 65 74 61 | 29 20 63 6f 6d 6d 61 6e |SC (meta|) comman|
|000016c0| 64 73 2e 0a 54 68 65 20 | 6e 6f 72 6d 61 6c 20 67 |ds..The |normal g|
|000016d0| 6c 6f 62 61 6c 20 64 65 | 66 69 6e 69 74 69 6f 6e |lobal de|finition|
|000016e0| 20 6f 66 20 74 68 65 20 | 63 68 61 72 61 63 74 65 | of the |characte|
|000016f0| 72 20 45 53 43 20 69 6e | 64 69 72 65 63 74 73 20 |r ESC in|directs |
|00001700| 74 6f 20 74 68 69 73 20 | 6b 65 79 6d 61 70 2e 22 |to this |keymap."|
|00001710| 29 0a 28 64 65 66 76 61 | 72 20 63 74 6c 2d 78 2d |).(defva|r ctl-x-|
|00001720| 6d 61 70 20 6e 69 6c 20 | 22 5c 0a 44 65 66 61 75 |map nil |"\.Defau|
|00001730| 6c 74 20 6b 65 79 6d 61 | 70 20 66 6f 72 20 43 2d |lt keyma|p for C-|
|00001740| 78 20 63 6f 6d 6d 61 6e | 64 73 2e 0a 54 68 65 20 |x comman|ds..The |
|00001750| 6e 6f 72 6d 61 6c 20 67 | 6c 6f 62 61 6c 20 64 65 |normal g|lobal de|
|00001760| 66 69 6e 69 74 69 6f 6e | 20 6f 66 20 74 68 65 20 |finition| of the |
|00001770| 63 68 61 72 61 63 74 65 | 72 20 43 2d 78 20 69 6e |characte|r C-x in|
|00001780| 64 69 72 65 63 74 73 20 | 74 6f 20 74 68 69 73 20 |directs |to this |
|00001790| 6b 65 79 6d 61 70 2e 22 | 29 0a 28 64 65 66 76 61 |keymap."|).(defva|
|000017a0| 72 20 63 74 6c 2d 78 2d | 34 2d 6d 61 70 20 28 6d |r ctl-x-|4-map (m|
|000017b0| 61 6b 65 2d 73 70 61 72 | 73 65 2d 6b 65 79 6d 61 |ake-spar|se-keyma|
|000017c0| 70 29 20 22 5c 0a 4b 65 | 79 6d 61 70 20 66 6f 72 |p) "\.Ke|ymap for|
|000017d0| 20 73 75 62 63 6f 6d 6d | 61 6e 64 73 20 6f 66 20 | subcomm|ands of |
|000017e0| 43 2d 78 20 34 22 29 0a | 28 62 79 74 65 2d 63 6f |C-x 4").|(byte-co|
|000017f0| 64 65 20 22 c0 c1 5c 6e | 5c 22 88 c3 5c 66 c5 c1 |de "..\n|\"..\f..|
|00001800| 23 87 22 20 5b 64 65 66 | 61 6c 69 61 73 20 63 74 |#." [def|alias ct|
|00001810| 6c 2d 78 2d 34 2d 70 72 | 65 66 69 78 20 63 74 6c |l-x-4-pr|efix ctl|
|00001820| 2d 78 2d 34 2d 6d 61 70 | 20 64 65 66 69 6e 65 2d |-x-4-map| define-|
|00001830| 6b 65 79 20 63 74 6c 2d | 78 2d 6d 61 70 20 22 34 |key ctl-|x-map "4|
|00001840| 22 5d 20 34 29 0a 28 64 | 65 66 76 61 72 20 63 74 |"] 4).(d|efvar ct|
|00001850| 6c 2d 78 2d 35 2d 6d 61 | 70 20 28 6d 61 6b 65 2d |l-x-5-ma|p (make-|
|00001860| 73 70 61 72 73 65 2d 6b | 65 79 6d 61 70 29 20 22 |sparse-k|eymap) "|
|00001870| 5c 0a 4b 65 79 6d 61 70 | 20 66 6f 72 20 66 72 61 |\.Keymap| for fra|
|00001880| 6d 65 20 63 6f 6d 6d 61 | 6e 64 73 2e 22 29 0a 28 |me comma|nds.").(|
|00001890| 62 79 74 65 2d 63 6f 64 | 65 20 22 c0 c1 5c 6e 5c |byte-cod|e "..\n\|
|000018a0| 22 88 c3 5c 66 c5 c1 23 | 88 c6 c7 c8 5c 22 16 09 |"..\f..#|....\"..|
|000018b0| ca c6 c7 cb 5c 22 0e 09 | 5c 22 16 09 c0 87 22 20 |....\"..|\"...." |
|000018c0| 5b 64 65 66 61 6c 69 61 | 73 20 63 74 6c 2d 78 2d |[defalia|s ctl-x-|
|000018d0| 35 2d 70 72 65 66 69 78 | 20 63 74 6c 2d 78 2d 35 |5-prefix| ctl-x-5|
|000018e0| 2d 6d 61 70 20 64 65 66 | 69 6e 65 2d 6b 65 79 20 |-map def|ine-key |
|000018f0| 63 74 6c 2d 78 2d 6d 61 | 70 20 22 35 22 20 6c 73 |ctl-x-ma|p "5" ls|
|00001900| 68 20 31 20 37 20 6c 69 | 73 74 69 66 79 2d 6b 65 |h 1 7 li|stify-ke|
|00001910| 79 2d 73 65 71 75 65 6e | 63 65 2d 31 20 6c 6f 67 |y-sequen|ce-1 log|
|00001920| 69 6f 72 20 32 33 5d 20 | 34 29 0a 28 64 65 66 61 |ior 23] |4).(defa|
|00001930| 6c 69 61 73 20 27 6c 69 | 73 74 69 66 79 2d 6b 65 |lias 'li|stify-ke|
|00001940| 79 2d 73 65 71 75 65 6e | 63 65 20 23 5b 28 6b 65 |y-sequen|ce #[(ke|
|00001950| 79 29 20 22 c0 09 21 83 | 0b 00 c2 09 c3 5c 22 87 |y) "..!.|.....\".|
|00001960| c4 c5 c2 09 c3 5c 22 5c | 22 87 22 20 5b 76 65 63 |.....\"\|"." [vec|
|00001970| 74 6f 72 70 20 6b 65 79 | 20 61 70 70 65 6e 64 20 |torp key| append |
|00001980| 6e 69 6c 20 6d 61 70 63 | 61 72 20 23 5b 28 63 29 |nil mapc|ar #[(c)|
|00001990| 20 22 08 c1 56 83 0b 00 | c2 08 0b 5c 22 87 08 87 | "..V...|...\"...|
|000019a0| 22 20 5b 63 20 31 32 37 | 20 6c 6f 67 78 6f 72 20 |" [c 127| logxor |
|000019b0| 6c 69 73 74 69 66 79 2d | 6b 65 79 2d 73 65 71 75 |listify-|key-sequ|
|000019c0| 65 6e 63 65 2d 31 5d 20 | 33 5d 5d 20 35 20 22 5c |ence-1] |3]] 5 "\|
|000019d0| 0a 43 6f 6e 76 65 72 74 | 20 61 20 6b 65 79 20 73 |.Convert| a key s|
|000019e0| 65 71 75 65 6e 63 65 20 | 74 6f 20 61 20 6c 69 73 |equence |to a lis|
|000019f0| 74 20 6f 66 20 65 76 65 | 6e 74 73 2e 22 5d 29 0a |t of eve|nts."]).|
|00001a00| 28 64 65 66 61 6c 69 61 | 73 20 27 65 76 65 6e 74 |(defalia|s 'event|
|00001a10| 70 20 23 5b 28 6f 62 6a | 29 20 22 08 a8 86 1f 00 |p #[(obj|) ".....|
|00001a20| 08 39 83 10 00 08 c1 4e | 86 1f 00 08 3a 85 1f 00 |.9.....N|....:...|
|00001a30| 08 40 39 85 1f 00 08 40 | c1 4e 87 22 20 5b 6f 62 |.@9....@|.N." [ob|
|00001a40| 6a 20 65 76 65 6e 74 2d | 73 79 6d 62 6f 6c 2d 65 |j event-|symbol-e|
|00001a50| 6c 65 6d 65 6e 74 73 5d | 20 32 20 22 5c 0a 54 72 |lements]| 2 "\.Tr|
|00001a60| 75 65 20 69 66 20 74 68 | 65 20 61 72 67 75 6d 65 |ue if th|e argume|
|00001a70| 6e 74 20 69 73 20 61 6e | 20 65 76 65 6e 74 20 6f |nt is an| event o|
|00001a80| 62 6a 65 63 74 2e 22 5d | 29 0a 28 70 75 74 20 28 |bject."]|).(put (|
|00001a90| 71 75 6f 74 65 20 65 76 | 65 6e 74 70 29 20 28 71 |quote ev|entp) (q|
|00001aa0| 75 6f 74 65 20 62 79 74 | 65 2d 6f 70 74 69 6d 69 |uote byt|e-optimi|
|00001ab0| 7a 65 72 29 20 28 71 75 | 6f 74 65 20 62 79 74 65 |zer) (qu|ote byte|
|00001ac0| 2d 63 6f 6d 70 69 6c 65 | 2d 69 6e 6c 69 6e 65 2d |-compile|-inline-|
|00001ad0| 65 78 70 61 6e 64 29 29 | 0a 28 64 65 66 61 6c 69 |expand))|.(defali|
|00001ae0| 61 73 20 27 65 76 65 6e | 74 2d 6d 6f 64 69 66 69 |as 'even|t-modifi|
|00001af0| 65 72 73 20 23 5b 28 65 | 76 65 6e 74 29 20 22 08 |ers #[(e|vent) ".|
|00001b00| 89 19 3c 83 5c 6e 00 09 | 40 11 09 39 83 16 00 09 |..<.\n..|@..9....|
|00001b10| c2 4e 41 82 90 00 c3 1c | c5 c6 09 c7 c8 c9 5c 22 |.NA.....|......\"|
|00001b20| 5c 22 21 84 28 00 ca 5c | 66 42 14 c5 c6 09 c7 c8 |\"!.(..\|fB......|
|00001b30| cb 5c 22 5c 22 21 83 3d | 00 c6 09 cc 5c 22 cd 59 |.\"\"!.=|....\".Y|
|00001b40| 84 41 00 ce 5c 66 42 14 | c5 c6 09 c7 c8 cf 5c 22 |.A..\fB.|......\"|
|00001b50| 5c 22 21 83 5a 00 c6 09 | d0 5c 22 c6 09 d0 5c 22 |\"!.Z...|.\"...\"|
|00001b60| 97 55 84 5e 00 d1 5c 66 | 42 14 c5 c6 09 c7 c8 d2 |.U.^..\f|B.......|
|00001b70| 5c 22 5c 22 21 84 6e 00 | d3 5c 66 42 14 c5 c6 09 |\"\"!.n.|.\fB....|
|00001b80| c7 c8 d4 5c 22 5c 22 21 | 84 7e 00 d5 5c 66 42 14 |...\"\"!|.~..\fB.|
|00001b90| c5 c6 09 c7 c8 d6 5c 22 | 5c 22 21 84 8e 00 d7 5c |......\"|\"!....\|
|00001ba0| 66 42 14 5c 66 29 29 87 | 22 20 5b 65 76 65 6e 74 |fB.\f)).|" [event|
|00001bb0| 20 74 79 70 65 20 65 76 | 65 6e 74 2d 73 79 6d 62 | type ev|ent-symb|
|00001bc0| 6f 6c 2d 65 6c 65 6d 65 | 6e 74 73 20 6e 69 6c 20 |ol-eleme|nts nil |
|00001bd0| 6c 69 73 74 20 7a 65 72 | 6f 70 20 6c 6f 67 61 6e |list zer|op logan|
|00001be0| 64 20 6c 73 68 20 31 20 | 32 33 20 6d 65 74 61 20 |d lsh 1 |23 meta |
|00001bf0| 32 32 20 31 32 37 20 33 | 32 20 63 6f 6e 74 72 6f |22 127 3|2 contro|
|00001c00| 6c 20 32 31 20 32 35 35 | 20 73 68 69 66 74 20 32 |l 21 255| shift 2|
|00001c10| 30 20 68 79 70 65 72 20 | 31 39 20 73 75 70 65 72 |0 hyper |19 super|
|00001c20| 20 31 38 20 61 6c 74 5d | 20 37 20 22 5c 0a 52 65 | 18 alt]| 7 "\.Re|
|00001c30| 74 75 72 6e 73 20 61 20 | 6c 69 73 74 20 6f 66 20 |turns a |list of |
|00001c40| 73 79 6d 62 6f 6c 73 20 | 72 65 70 72 65 73 65 6e |symbols |represen|
|00001c50| 74 69 6e 67 20 74 68 65 | 20 6d 6f 64 69 66 69 65 |ting the| modifie|
|00001c60| 72 20 6b 65 79 73 20 69 | 6e 20 65 76 65 6e 74 20 |r keys i|n event |
|00001c70| 45 56 45 4e 54 2e 0a 54 | 68 65 20 65 6c 65 6d 65 |EVENT..T|he eleme|
|00001c80| 6e 74 73 20 6f 66 20 74 | 68 65 20 6c 69 73 74 20 |nts of t|he list |
|00001c90| 6d 61 79 20 69 6e 63 6c | 75 64 65 20 60 6d 65 74 |may incl|ude `met|
|00001ca0| 61 27 2c 20 60 63 6f 6e | 74 72 6f 6c 27 2c 0a 60 |a', `con|trol',.`|
|00001cb0| 73 68 69 66 74 27 2c 20 | 60 68 79 70 65 72 27 2c |shift', |`hyper',|
|00001cc0| 20 60 73 75 70 65 72 27 | 2c 20 60 61 6c 74 27 2c | `super'|, `alt',|
|00001cd0| 20 60 63 6c 69 63 6b 27 | 2c 20 60 64 6f 75 62 6c | `click'|, `doubl|
|00001ce0| 65 27 2c 20 60 74 72 69 | 70 6c 65 27 2c 20 60 64 |e', `tri|ple', `d|
|00001cf0| 72 61 67 27 2c 0a 61 6e | 64 20 60 64 6f 77 6e 27 |rag',.an|d `down'|
|00001d00| 2e 22 5d 29 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |."]).(de|falias '|
|00001d10| 65 76 65 6e 74 2d 62 61 | 73 69 63 2d 74 79 70 65 |event-ba|sic-type|
|00001d20| 20 23 5b 28 65 76 65 6e | 74 29 20 22 08 3a 83 08 | #[(even|t) ".:..|
|00001d30| 00 08 40 10 08 39 83 12 | 00 08 c1 4e 40 87 c2 08 |..@..9..|...N@...|
|00001d40| c3 c4 c5 5c 22 53 5c 22 | 89 1e 06 c7 57 83 2a 00 |...\"S\"|....W.*.|
|00001d50| c8 0e 06 c9 5c 22 82 2c | 00 0e 06 97 29 87 22 20 |....\".,|....)." |
|00001d60| 5b 65 76 65 6e 74 20 65 | 76 65 6e 74 2d 73 79 6d |[event e|vent-sym|
|00001d70| 62 6f 6c 2d 65 6c 65 6d | 65 6e 74 73 20 6c 6f 67 |bol-elem|ents log|
|00001d80| 61 6e 64 20 6c 73 68 20 | 31 20 31 38 20 62 61 73 |and lsh |1 18 bas|
|00001d90| 65 20 33 32 20 6c 6f 67 | 69 6f 72 20 36 34 5d 20 |e 32 log|ior 64] |
|00001da0| 36 20 22 5c 0a 52 65 74 | 75 72 6e 73 20 74 68 65 |6 "\.Ret|urns the|
|00001db0| 20 62 61 73 69 63 20 74 | 79 70 65 20 6f 66 20 74 | basic t|ype of t|
|00001dc0| 68 65 20 67 69 76 65 6e | 20 65 76 65 6e 74 20 28 |he given| event (|
|00001dd0| 61 6c 6c 20 6d 6f 64 69 | 66 69 65 72 73 20 72 65 |all modi|fiers re|
|00001de0| 6d 6f 76 65 64 29 2e 0a | 54 68 65 20 76 61 6c 75 |moved)..|The valu|
|00001df0| 65 20 69 73 20 61 6e 20 | 41 53 43 49 49 20 70 72 |e is an |ASCII pr|
|00001e00| 69 6e 74 69 6e 67 20 63 | 68 61 72 61 63 74 65 72 |inting c|haracter|
|00001e10| 20 28 6e 6f 74 20 75 70 | 70 65 72 20 63 61 73 65 | (not up|per case|
|00001e20| 29 20 6f 72 20 61 20 73 | 79 6d 62 6f 6c 2e 22 5d |) or a s|ymbol."]|
|00001e30| 29 0a 28 64 65 66 61 6c | 69 61 73 20 27 6d 6f 75 |).(defal|ias 'mou|
|00001e40| 73 65 2d 6d 6f 76 65 6d | 65 6e 74 2d 70 20 23 5b |se-movem|ent-p #[|
|00001e50| 28 6f 62 6a 65 63 74 29 | 20 22 08 3a 85 09 00 08 |(object)| ".:....|
|00001e60| 40 c1 3d 87 22 20 5b 6f | 62 6a 65 63 74 20 6d 6f |@.=." [o|bject mo|
|00001e70| 75 73 65 2d 6d 6f 76 65 | 6d 65 6e 74 5d 20 32 20 |use-move|ment] 2 |
|00001e80| 22 5c 0a 52 65 74 75 72 | 6e 20 6e 6f 6e 2d 6e 69 |"\.Retur|n non-ni|
|00001e90| 6c 20 69 66 20 4f 42 4a | 45 43 54 20 69 73 20 61 |l if OBJ|ECT is a|
|00001ea0| 20 6d 6f 75 73 65 20 6d | 6f 76 65 6d 65 6e 74 20 | mouse m|ovement |
|00001eb0| 65 76 65 6e 74 2e 22 5d | 29 0a 28 70 75 74 20 28 |event."]|).(put (|
|00001ec0| 71 75 6f 74 65 20 6d 6f | 75 73 65 2d 6d 6f 76 65 |quote mo|use-move|
|00001ed0| 6d 65 6e 74 2d 70 29 20 | 28 71 75 6f 74 65 20 62 |ment-p) |(quote b|
|00001ee0| 79 74 65 2d 6f 70 74 69 | 6d 69 7a 65 72 29 20 28 |yte-opti|mizer) (|
|00001ef0| 71 75 6f 74 65 20 62 79 | 74 65 2d 63 6f 6d 70 69 |quote by|te-compi|
|00001f00| 6c 65 2d 69 6e 6c 69 6e | 65 2d 65 78 70 61 6e 64 |le-inlin|e-expand|
|00001f10| 29 29 0a 28 64 65 66 61 | 6c 69 61 73 20 27 65 76 |)).(defa|lias 'ev|
|00001f20| 65 6e 74 2d 73 74 61 72 | 74 20 23 5b 28 65 76 65 |ent-star|t #[(eve|
|00001f30| 6e 74 29 20 22 08 41 40 | 87 22 20 5b 65 76 65 6e |nt) ".A@|." [even|
|00001f40| 74 5d 20 31 20 22 5c 0a | 52 65 74 75 72 6e 20 74 |t] 1 "\.|Return t|
|00001f50| 68 65 20 73 74 61 72 74 | 69 6e 67 20 70 6f 73 69 |he start|ing posi|
|00001f60| 74 69 6f 6e 20 6f 66 20 | 45 56 45 4e 54 2e 0a 49 |tion of |EVENT..I|
|00001f70| 66 20 45 56 45 4e 54 20 | 69 73 20 61 20 6d 6f 75 |f EVENT |is a mou|
|00001f80| 73 65 20 70 72 65 73 73 | 20 6f 72 20 61 20 6d 6f |se press| or a mo|
|00001f90| 75 73 65 20 63 6c 69 63 | 6b 2c 20 74 68 69 73 20 |use clic|k, this |
|00001fa0| 72 65 74 75 72 6e 73 20 | 74 68 65 20 6c 6f 63 61 |returns |the loca|
|00001fb0| 74 69 6f 6e 0a 6f 66 20 | 74 68 65 20 65 76 65 6e |tion.of |the even|
|00001fc0| 74 2e 0a 49 66 20 45 56 | 45 4e 54 20 69 73 20 61 |t..If EV|ENT is a|
|00001fd0| 20 64 72 61 67 2c 20 74 | 68 69 73 20 72 65 74 75 | drag, t|his retu|
|00001fe0| 72 6e 73 20 74 68 65 20 | 64 72 61 67 27 73 20 73 |rns the |drag's s|
|00001ff0| 74 61 72 74 69 6e 67 20 | 70 6f 73 69 74 69 6f 6e |tarting |position|
|00002000| 2e 0a 54 68 65 20 72 65 | 74 75 72 6e 20 76 61 6c |..The re|turn val|
|00002010| 75 65 20 69 73 20 6f 66 | 20 74 68 65 20 66 6f 72 |ue is of| the for|
|00002020| 6d 0a 20 20 20 28 57 49 | 4e 44 4f 57 20 42 55 46 |m. (WI|NDOW BUF|
|00002030| 46 45 52 2d 50 4f 53 49 | 54 49 4f 4e 20 28 58 20 |FER-POSI|TION (X |
|00002040| 2e 20 59 29 20 54 49 4d | 45 53 54 41 4d 50 29 0a |. Y) TIM|ESTAMP).|
|00002050| 54 68 65 20 60 70 6f 73 | 6e 2d 27 20 66 75 6e 63 |The `pos|n-' func|
|00002060| 74 69 6f 6e 73 20 61 63 | 63 65 73 73 20 65 6c 65 |tions ac|cess ele|
|00002070| 6d 65 6e 74 73 20 6f 66 | 20 73 75 63 68 20 6c 69 |ments of| such li|
|00002080| 73 74 73 2e 22 5d 29 0a | 28 70 75 74 20 28 71 75 |sts."]).|(put (qu|
|00002090| 6f 74 65 20 65 76 65 6e | 74 2d 73 74 61 72 74 29 |ote even|t-start)|
|000020a0| 20 28 71 75 6f 74 65 20 | 62 79 74 65 2d 6f 70 74 | (quote |byte-opt|
|000020b0| 69 6d 69 7a 65 72 29 20 | 28 71 75 6f 74 65 20 62 |imizer) |(quote b|
|000020c0| 79 74 65 2d 63 6f 6d 70 | 69 6c 65 2d 69 6e 6c 69 |yte-comp|ile-inli|
|000020d0| 6e 65 2d 65 78 70 61 6e | 64 29 29 0a 28 64 65 66 |ne-expan|d)).(def|
|000020e0| 61 6c 69 61 73 20 27 65 | 76 65 6e 74 2d 65 6e 64 |alias 'e|vent-end|
|000020f0| 20 23 5b 28 65 76 65 6e | 74 29 20 22 c0 09 38 3a | #[(even|t) "..8:|
|00002100| 83 0b 00 c0 82 5c 66 00 | c2 09 38 87 22 20 5b 32 |.....\f.|..8." [2|
|00002110| 20 65 76 65 6e 74 20 31 | 5d 20 32 20 22 5c 0a 52 | event 1|] 2 "\.R|
|00002120| 65 74 75 72 6e 20 74 68 | 65 20 65 6e 64 69 6e 67 |eturn th|e ending|
|00002130| 20 6c 6f 63 61 74 69 6f | 6e 20 6f 66 20 45 56 45 | locatio|n of EVE|
|00002140| 4e 54 2e 20 20 45 56 45 | 4e 54 20 73 68 6f 75 6c |NT. EVE|NT shoul|
|00002150| 64 20 62 65 20 61 20 63 | 6c 69 63 6b 20 6f 72 20 |d be a c|lick or |
|00002160| 64 72 61 67 20 65 76 65 | 6e 74 2e 0a 49 66 20 45 |drag eve|nt..If E|
|00002170| 56 45 4e 54 20 69 73 20 | 61 20 63 6c 69 63 6b 20 |VENT is |a click |
|00002180| 65 76 65 6e 74 2c 20 74 | 68 69 73 20 66 75 6e 63 |event, t|his func|
|00002190| 74 69 6f 6e 20 69 73 20 | 74 68 65 20 73 61 6d 65 |tion is |the same|
|000021a0| 20 61 73 20 60 65 76 65 | 6e 74 2d 73 74 61 72 74 | as `eve|nt-start|
|000021b0| 27 2e 0a 54 68 65 20 72 | 65 74 75 72 6e 20 76 61 |'..The r|eturn va|
|000021c0| 6c 75 65 20 69 73 20 6f | 66 20 74 68 65 20 66 6f |lue is o|f the fo|
|000021d0| 72 6d 0a 20 20 20 28 57 | 49 4e 44 4f 57 20 42 55 |rm. (W|INDOW BU|
|000021e0| 46 46 45 52 2d 50 4f 53 | 49 54 49 4f 4e 20 28 58 |FFER-POS|ITION (X|
|000021f0| 20 2e 20 59 29 20 54 49 | 4d 45 53 54 41 4d 50 29 | . Y) TI|MESTAMP)|
|00002200| 0a 54 68 65 20 60 70 6f | 73 6e 2d 27 20 66 75 6e |.The `po|sn-' fun|
|00002210| 63 74 69 6f 6e 73 20 61 | 63 63 65 73 73 20 65 6c |ctions a|ccess el|
|00002220| 65 6d 65 6e 74 73 20 6f | 66 20 73 75 63 68 20 6c |ements o|f such l|
|00002230| 69 73 74 73 2e 22 5d 29 | 0a 28 70 75 74 20 28 71 |ists."])|.(put (q|
|00002240| 75 6f 74 65 20 65 76 65 | 6e 74 2d 65 6e 64 29 20 |uote eve|nt-end) |
|00002250| 28 71 75 6f 74 65 20 62 | 79 74 65 2d 6f 70 74 69 |(quote b|yte-opti|
|00002260| 6d 69 7a 65 72 29 20 28 | 71 75 6f 74 65 20 62 79 |mizer) (|quote by|
|00002270| 74 65 2d 63 6f 6d 70 69 | 6c 65 2d 69 6e 6c 69 6e |te-compi|le-inlin|
|00002280| 65 2d 65 78 70 61 6e 64 | 29 29 0a 28 64 65 66 61 |e-expand|)).(defa|
|00002290| 6c 69 61 73 20 27 65 76 | 65 6e 74 2d 63 6c 69 63 |lias 'ev|ent-clic|
|000022a0| 6b 2d 63 6f 75 6e 74 20 | 23 5b 28 65 76 65 6e 74 |k-count |#[(event|
|000022b0| 29 20 22 c0 09 38 a8 83 | 0b 00 c0 09 38 87 c2 87 |) "..8..|....8...|
|000022c0| 22 20 5b 32 20 65 76 65 | 6e 74 20 31 5d 20 32 20 |" [2 eve|nt 1] 2 |
|000022d0| 22 5c 0a 52 65 74 75 72 | 6e 20 74 68 65 20 6d 75 |"\.Retur|n the mu|
|000022e0| 6c 74 69 2d 63 6c 69 63 | 6b 20 63 6f 75 6e 74 20 |lti-clic|k count |
|000022f0| 6f 66 20 45 56 45 4e 54 | 2c 20 61 20 63 6c 69 63 |of EVENT|, a clic|
|00002300| 6b 20 6f 72 20 64 72 61 | 67 20 65 76 65 6e 74 2e |k or dra|g event.|
|00002310| 0a 54 68 65 20 72 65 74 | 75 72 6e 20 76 61 6c 75 |.The ret|urn valu|
|00002320| 65 20 69 73 20 61 20 70 | 6f 73 69 74 69 76 65 20 |e is a p|ositive |
|00002330| 69 6e 74 65 67 65 72 2e | 22 5d 29 0a 28 70 75 74 |integer.|"]).(put|
|00002340| 20 28 71 75 6f 74 65 20 | 65 76 65 6e 74 2d 63 6c | (quote |event-cl|
|00002350| 69 63 6b 2d 63 6f 75 6e | 74 29 20 28 71 75 6f 74 |ick-coun|t) (quot|
|00002360| 65 20 62 79 74 65 2d 6f | 70 74 69 6d 69 7a 65 72 |e byte-o|ptimizer|
|00002370| 29 20 28 71 75 6f 74 65 | 20 62 79 74 65 2d 63 6f |) (quote| byte-co|
|00002380| 6d 70 69 6c 65 2d 69 6e | 6c 69 6e 65 2d 65 78 70 |mpile-in|line-exp|
|00002390| 61 6e 64 29 29 0a 28 64 | 65 66 61 6c 69 61 73 20 |and)).(d|efalias |
|000023a0| 27 70 6f 73 6e 2d 77 69 | 6e 64 6f 77 20 23 5b 28 |'posn-wi|ndow #[(|
|000023b0| 70 6f 73 69 74 69 6f 6e | 29 20 22 08 40 87 22 20 |position|) ".@." |
|000023c0| 5b 70 6f 73 69 74 69 6f | 6e 5d 20 31 20 22 5c 0a |[positio|n] 1 "\.|
|000023d0| 52 65 74 75 72 6e 20 74 | 68 65 20 77 69 6e 64 6f |Return t|he windo|
|000023e0| 77 20 69 6e 20 50 4f 53 | 49 54 49 4f 4e 2e 0a 50 |w in POS|ITION..P|
|000023f0| 4f 53 49 54 49 4f 4e 20 | 73 68 6f 75 6c 64 20 62 |OSITION |should b|
|00002400| 65 20 61 20 6c 69 73 74 | 20 6f 66 20 74 68 65 20 |e a list| of the |
|00002410| 66 6f 72 6d 0a 20 20 20 | 28 57 49 4e 44 4f 57 20 |form. |(WINDOW |
|00002420| 42 55 46 46 45 52 2d 50 | 4f 53 49 54 49 4f 4e 20 |BUFFER-P|OSITION |
|00002430| 28 58 20 2e 20 59 29 20 | 54 49 4d 45 53 54 41 4d |(X . Y) |TIMESTAM|
|00002440| 50 29 0a 61 73 20 72 65 | 74 75 72 6e 65 64 20 62 |P).as re|turned b|
|00002450| 79 20 74 68 65 20 60 65 | 76 65 6e 74 2d 73 74 61 |y the `e|vent-sta|
|00002460| 72 74 27 20 61 6e 64 20 | 60 65 76 65 6e 74 2d 65 |rt' and |`event-e|
|00002470| 6e 64 27 20 66 75 6e 63 | 74 69 6f 6e 73 2e 22 5d |nd' func|tions."]|
|00002480| 29 0a 28 70 75 74 20 28 | 71 75 6f 74 65 20 70 6f |).(put (|quote po|
|00002490| 73 6e 2d 77 69 6e 64 6f | 77 29 20 28 71 75 6f 74 |sn-windo|w) (quot|
|000024a0| 65 20 62 79 74 65 2d 6f | 70 74 69 6d 69 7a 65 72 |e byte-o|ptimizer|
|000024b0| 29 20 28 71 75 6f 74 65 | 20 62 79 74 65 2d 63 6f |) (quote| byte-co|
|000024c0| 6d 70 69 6c 65 2d 69 6e | 6c 69 6e 65 2d 65 78 70 |mpile-in|line-exp|
|000024d0| 61 6e 64 29 29 0a 28 64 | 65 66 61 6c 69 61 73 20 |and)).(d|efalias |
|000024e0| 27 70 6f 73 6e 2d 70 6f | 69 6e 74 20 23 5b 28 70 |'posn-po|int #[(p|
|000024f0| 6f 73 69 74 69 6f 6e 29 | 20 22 08 41 40 3a 83 5c |osition)| ".A@:.\|
|00002500| 66 00 08 41 40 40 87 08 | 41 40 87 22 20 5b 70 6f |f..A@@..|A@." [po|
|00002510| 73 69 74 69 6f 6e 5d 20 | 31 20 22 5c 0a 52 65 74 |sition] |1 "\.Ret|
|00002520| 75 72 6e 20 74 68 65 20 | 62 75 66 66 65 72 20 6c |urn the |buffer l|
|00002530| 6f 63 61 74 69 6f 6e 20 | 69 6e 20 50 4f 53 49 54 |ocation |in POSIT|
|00002540| 49 4f 4e 2e 0a 50 4f 53 | 49 54 49 4f 4e 20 73 68 |ION..POS|ITION sh|
|00002550| 6f 75 6c 64 20 62 65 20 | 61 20 6c 69 73 74 20 6f |ould be |a list o|
|00002560| 66 20 74 68 65 20 66 6f | 72 6d 0a 20 20 20 28 57 |f the fo|rm. (W|
|00002570| 49 4e 44 4f 57 20 42 55 | 46 46 45 52 2d 50 4f 53 |INDOW BU|FFER-POS|
|00002580| 49 54 49 4f 4e 20 28 58 | 20 2e 20 59 29 20 54 49 |ITION (X| . Y) TI|
|00002590| 4d 45 53 54 41 4d 50 29 | 0a 61 73 20 72 65 74 75 |MESTAMP)|.as retu|
|000025a0| 72 6e 65 64 20 62 79 20 | 74 68 65 20 60 65 76 65 |rned by |the `eve|
|000025b0| 6e 74 2d 73 74 61 72 74 | 27 20 61 6e 64 20 60 65 |nt-start|' and `e|
|000025c0| 76 65 6e 74 2d 65 6e 64 | 27 20 66 75 6e 63 74 69 |vent-end|' functi|
|000025d0| 6f 6e 73 2e 22 5d 29 0a | 28 70 75 74 20 28 71 75 |ons."]).|(put (qu|
|000025e0| 6f 74 65 20 70 6f 73 6e | 2d 70 6f 69 6e 74 29 20 |ote posn|-point) |
|000025f0| 28 71 75 6f 74 65 20 62 | 79 74 65 2d 6f 70 74 69 |(quote b|yte-opti|
|00002600| 6d 69 7a 65 72 29 20 28 | 71 75 6f 74 65 20 62 79 |mizer) (|quote by|
|00002610| 74 65 2d 63 6f 6d 70 69 | 6c 65 2d 69 6e 6c 69 6e |te-compi|le-inlin|
|00002620| 65 2d 65 78 70 61 6e 64 | 29 29 0a 28 64 65 66 61 |e-expand|)).(defa|
|00002630| 6c 69 61 73 20 27 70 6f | 73 6e 2d 78 2d 79 20 23 |lias 'po|sn-x-y #|
|00002640| 5b 28 70 6f 73 69 74 69 | 6f 6e 29 20 22 c0 09 38 |[(positi|on) "..8|
|00002650| 87 22 20 5b 32 20 70 6f | 73 69 74 69 6f 6e 5d 20 |." [2 po|sition] |
|00002660| 32 20 22 5c 0a 52 65 74 | 75 72 6e 20 74 68 65 20 |2 "\.Ret|urn the |
|00002670| 78 20 61 6e 64 20 79 20 | 63 6f 6f 72 64 69 6e 61 |x and y |coordina|
|00002680| 74 65 73 20 69 6e 20 50 | 4f 53 49 54 49 4f 4e 2e |tes in P|OSITION.|
|00002690| 0a 50 4f 53 49 54 49 4f | 4e 20 73 68 6f 75 6c 64 |.POSITIO|N should|
|000026a0| 20 62 65 20 61 20 6c 69 | 73 74 20 6f 66 20 74 68 | be a li|st of th|
|000026b0| 65 20 66 6f 72 6d 0a 20 | 20 20 28 57 49 4e 44 4f |e form. | (WINDO|
|000026c0| 57 20 42 55 46 46 45 52 | 2d 50 4f 53 49 54 49 4f |W BUFFER|-POSITIO|
|000026d0| 4e 20 28 58 20 2e 20 59 | 29 20 54 49 4d 45 53 54 |N (X . Y|) TIMEST|
|000026e0| 41 4d 50 29 0a 61 73 20 | 72 65 74 75 72 6e 65 64 |AMP).as |returned|
|000026f0| 20 62 79 20 74 68 65 20 | 60 65 76 65 6e 74 2d 73 | by the |`event-s|
|00002700| 74 61 72 74 27 20 61 6e | 64 20 60 65 76 65 6e 74 |tart' an|d `event|
|00002710| 2d 65 6e 64 27 20 66 75 | 6e 63 74 69 6f 6e 73 2e |-end' fu|nctions.|
|00002720| 22 5d 29 0a 28 70 75 74 | 20 28 71 75 6f 74 65 20 |"]).(put| (quote |
|00002730| 70 6f 73 6e 2d 78 2d 79 | 29 20 28 71 75 6f 74 65 |posn-x-y|) (quote|
|00002740| 20 62 79 74 65 2d 6f 70 | 74 69 6d 69 7a 65 72 29 | byte-op|timizer)|
|00002750| 20 28 71 75 6f 74 65 20 | 62 79 74 65 2d 63 6f 6d | (quote |byte-com|
|00002760| 70 69 6c 65 2d 69 6e 6c | 69 6e 65 2d 65 78 70 61 |pile-inl|ine-expa|
|00002770| 6e 64 29 29 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |nd)).(de|falias '|
|00002780| 70 6f 73 6e 2d 63 6f 6c | 2d 72 6f 77 20 23 5b 28 |posn-col|-row #[(|
|00002790| 70 6f 73 69 74 69 6f 6e | 29 20 22 c0 09 38 09 89 |position|) "..8..|
|000027a0| 19 40 29 1a 1b 09 41 40 | 3a 83 18 00 09 41 40 40 |.@)...A@|:....A@@|
|000027b0| 82 1b 00 09 41 40 c4 3d | 83 2c 00 c5 c6 0b c7 5c |....A@.=|.,.....\|
|000027c0| 6e 21 53 5c 22 42 82 74 | 00 09 41 40 3a 83 3a 00 |n!S\"B.t|..A@:.:.|
|000027d0| 09 41 40 40 82 3d 00 09 | 41 40 c8 3d 83 4d 00 c6 |.A@@.=..|A@.=.M..|
|000027e0| 0b c9 5c 6e 21 5c 22 c5 | 42 82 74 00 ca 5c 6e 21 |..\n!\".|B.t..\n!|
|000027f0| 83 57 00 5c 6e 82 5a 00 | cb 5c 6e 21 1e 5c 66 0b |.W.\n.Z.|.\n!.\f.|
|00002800| 40 cd 0e 5c 66 21 a5 1e | 0e 0b 41 cf 0e 5c 66 21 |@..\f!..|..A..\f!|
|00002810| a5 1e 10 0e 0e 0e 10 2b | 42 2a 87 22 20 5b 32 20 |.......+|B*." [2 |
|00002820| 70 6f 73 69 74 69 6f 6e | 20 77 69 6e 64 6f 77 20 |position| window |
|00002830| 70 61 69 72 20 76 65 72 | 74 69 63 61 6c 2d 73 63 |pair ver|tical-sc|
|00002840| 72 6f 6c 6c 2d 62 61 72 | 20 30 20 73 63 72 6f 6c |roll-bar| 0 scrol|
|00002850| 6c 2d 62 61 72 2d 73 63 | 61 6c 65 20 77 69 6e 64 |l-bar-sc|ale wind|
|00002860| 6f 77 2d 68 65 69 67 68 | 74 20 68 6f 72 69 7a 6f |ow-heigh|t horizo|
|00002870| 6e 74 61 6c 2d 73 63 72 | 6f 6c 6c 2d 62 61 72 20 |ntal-scr|oll-bar |
|00002880| 77 69 6e 64 6f 77 2d 77 | 69 64 74 68 20 66 72 61 |window-w|idth fra|
|00002890| 6d 65 70 20 77 69 6e 64 | 6f 77 2d 66 72 61 6d 65 |mep wind|ow-frame|
|000028a0| 20 66 72 61 6d 65 20 66 | 72 61 6d 65 2d 63 68 61 | frame f|rame-cha|
|000028b0| 72 2d 77 69 64 74 68 20 | 78 20 66 72 61 6d 65 2d |r-width |x frame-|
|000028c0| 63 68 61 72 2d 68 65 69 | 67 68 74 20 79 5d 20 36 |char-hei|ght y] 6|
|000028d0| 20 22 5c 0a 52 65 74 75 | 72 6e 20 74 68 65 20 63 | "\.Retu|rn the c|
|000028e0| 6f 6c 75 6d 6e 20 61 6e | 64 20 72 6f 77 20 69 6e |olumn an|d row in|
|000028f0| 20 50 4f 53 49 54 49 4f | 4e 2c 20 6d 65 61 73 75 | POSITIO|N, measu|
|00002900| 72 65 64 20 69 6e 20 63 | 68 61 72 61 63 74 65 72 |red in c|haracter|
|00002910| 73 2e 0a 50 4f 53 49 54 | 49 4f 4e 20 73 68 6f 75 |s..POSIT|ION shou|
|00002920| 6c 64 20 62 65 20 61 20 | 6c 69 73 74 20 6f 66 20 |ld be a |list of |
|00002930| 74 68 65 20 66 6f 72 6d | 0a 20 20 20 28 57 49 4e |the form|. (WIN|
|00002940| 44 4f 57 20 42 55 46 46 | 45 52 2d 50 4f 53 49 54 |DOW BUFF|ER-POSIT|
|00002950| 49 4f 4e 20 28 58 20 2e | 20 59 29 20 54 49 4d 45 |ION (X .| Y) TIME|
|00002960| 53 54 41 4d 50 29 0a 61 | 73 20 72 65 74 75 72 6e |STAMP).a|s return|
|00002970| 65 64 20 62 79 20 74 68 | 65 20 60 65 76 65 6e 74 |ed by th|e `event|
|00002980| 2d 73 74 61 72 74 27 20 | 61 6e 64 20 60 65 76 65 |-start' |and `eve|
|00002990| 6e 74 2d 65 6e 64 27 20 | 66 75 6e 63 74 69 6f 6e |nt-end' |function|
|000029a0| 73 2e 0a 46 6f 72 20 61 | 20 73 63 72 6f 6c 6c 2d |s..For a| scroll-|
|000029b0| 62 61 72 20 65 76 65 6e | 74 2c 20 74 68 65 20 72 |bar even|t, the r|
|000029c0| 65 73 75 6c 74 20 63 6f | 6c 75 6d 6e 20 69 73 20 |esult co|lumn is |
|000029d0| 30 2c 20 61 6e 64 20 74 | 68 65 20 72 6f 77 0a 63 |0, and t|he row.c|
|000029e0| 6f 72 72 65 73 70 6f 6e | 64 73 20 74 6f 20 74 68 |orrespon|ds to th|
|000029f0| 65 20 76 65 72 74 69 63 | 61 6c 20 70 6f 73 69 74 |e vertic|al posit|
|00002a00| 69 6f 6e 20 6f 66 20 74 | 68 65 20 63 6c 69 63 6b |ion of t|he click|
|00002a10| 20 69 6e 20 74 68 65 20 | 73 63 72 6f 6c 6c 20 62 | in the |scroll b|
|00002a20| 61 72 2e 22 5d 29 0a 28 | 64 65 66 61 6c 69 61 73 |ar."]).(|defalias|
|00002a30| 20 27 70 6f 73 6e 2d 74 | 69 6d 65 73 74 61 6d 70 | 'posn-t|imestamp|
|00002a40| 20 23 5b 28 70 6f 73 69 | 74 69 6f 6e 29 20 22 c0 | #[(posi|tion) ".|
|00002a50| 09 38 87 22 20 5b 33 20 | 70 6f 73 69 74 69 6f 6e |.8." [3 |position|
|00002a60| 5d 20 32 20 22 5c 0a 52 | 65 74 75 72 6e 20 74 68 |] 2 "\.R|eturn th|
|00002a70| 65 20 74 69 6d 65 73 74 | 61 6d 70 20 6f 66 20 50 |e timest|amp of P|
|00002a80| 4f 53 49 54 49 4f 4e 2e | 0a 50 4f 53 49 54 49 4f |OSITION.|.POSITIO|
|00002a90| 4e 20 73 68 6f 75 6c 64 | 20 62 65 20 61 20 6c 69 |N should| be a li|
|00002aa0| 73 74 20 6f 66 20 74 68 | 65 20 66 6f 72 6d 0a 20 |st of th|e form. |
|00002ab0| 20 20 28 57 49 4e 44 4f | 57 20 42 55 46 46 45 52 | (WINDO|W BUFFER|
|00002ac0| 2d 50 4f 53 49 54 49 4f | 4e 20 28 58 20 2e 20 59 |-POSITIO|N (X . Y|
|00002ad0| 29 20 54 49 4d 45 53 54 | 41 4d 50 29 0a 61 73 20 |) TIMEST|AMP).as |
|00002ae0| 72 65 74 75 72 6e 65 64 | 20 62 79 20 74 68 65 20 |returned| by the |
|00002af0| 60 65 76 65 6e 74 2d 73 | 74 61 72 74 27 20 61 6e |`event-s|tart' an|
|00002b00| 64 20 60 65 76 65 6e 74 | 2d 65 6e 64 27 20 66 75 |d `event|-end' fu|
|00002b10| 6e 63 74 69 6f 6e 73 2e | 22 5d 29 0a 28 62 79 74 |nctions.|"]).(byt|
|00002b20| 65 2d 63 6f 64 65 20 22 | c0 c1 c2 c3 23 88 c4 c5 |e-code "|....#...|
|00002b30| c6 5c 22 88 c4 c7 c8 5c | 22 88 c4 c9 ca 5c 22 88 |.\"....\|"....\".|
|00002b40| c4 cb cc 5c 22 88 c4 cd | ce 5c 22 88 c4 cf d0 5c |...\"...|.\"....\|
|00002b50| 22 88 c4 d1 d2 5c 22 88 | c4 d3 d4 5c 22 88 c4 d5 |"....\".|...\"...|
|00002b60| d6 5c 22 88 c4 d7 d8 5c | 22 88 c4 d9 da 5c 22 88 |.\"....\|"....\".|
|00002b70| c4 db dc 5c 22 88 c4 dd | de 5c 22 87 22 20 5b 70 |...\"...|.\"." [p|
|00002b80| 75 74 20 70 6f 73 6e 2d | 74 69 6d 65 73 74 61 6d |ut posn-|timestam|
|00002b90| 70 20 62 79 74 65 2d 6f | 70 74 69 6d 69 7a 65 72 |p byte-o|ptimizer|
|00002ba0| 20 62 79 74 65 2d 63 6f | 6d 70 69 6c 65 2d 69 6e | byte-co|mpile-in|
|00002bb0| 6c 69 6e 65 2d 65 78 70 | 61 6e 64 20 64 65 66 61 |line-exp|and defa|
|00002bc0| 6c 69 61 73 20 64 6f 74 | 20 70 6f 69 6e 74 20 64 |lias dot| point d|
|00002bd0| 6f 74 2d 6d 61 72 6b 65 | 72 20 70 6f 69 6e 74 2d |ot-marke|r point-|
|00002be0| 6d 61 72 6b 65 72 20 64 | 6f 74 2d 6d 69 6e 20 70 |marker d|ot-min p|
|00002bf0| 6f 69 6e 74 2d 6d 69 6e | 20 64 6f 74 2d 6d 61 78 |oint-min| dot-max|
|00002c00| 20 70 6f 69 6e 74 2d 6d | 61 78 20 77 69 6e 64 6f | point-m|ax windo|
|00002c10| 77 2d 64 6f 74 20 77 69 | 6e 64 6f 77 2d 70 6f 69 |w-dot wi|ndow-poi|
|00002c20| 6e 74 20 73 65 74 2d 77 | 69 6e 64 6f 77 2d 64 6f |nt set-w|indow-do|
|00002c30| 74 20 73 65 74 2d 77 69 | 6e 64 6f 77 2d 70 6f 69 |t set-wi|ndow-poi|
|00002c40| 6e 74 20 72 65 61 64 2d | 69 6e 70 75 74 20 72 65 |nt read-|input re|
|00002c50| 61 64 2d 73 74 72 69 6e | 67 20 73 65 6e 64 2d 73 |ad-strin|g send-s|
|00002c60| 74 72 69 6e 67 20 70 72 | 6f 63 65 73 73 2d 73 65 |tring pr|ocess-se|
|00002c70| 6e 64 2d 73 74 72 69 6e | 67 20 73 65 6e 64 2d 72 |nd-strin|g send-r|
|00002c80| 65 67 69 6f 6e 20 70 72 | 6f 63 65 73 73 2d 73 65 |egion pr|ocess-se|
|00002c90| 6e 64 2d 72 65 67 69 6f | 6e 20 73 68 6f 77 2d 62 |nd-regio|n show-b|
|00002ca0| 75 66 66 65 72 20 73 65 | 74 2d 77 69 6e 64 6f 77 |uffer se|t-window|
|00002cb0| 2d 62 75 66 66 65 72 20 | 62 75 66 66 65 72 2d 66 |-buffer |buffer-f|
|00002cc0| 6c 75 73 68 2d 75 6e 64 | 6f 20 62 75 66 66 65 72 |lush-und|o buffer|
|00002cd0| 2d 64 69 73 61 62 6c 65 | 2d 75 6e 64 6f 20 65 76 |-disable|-undo ev|
|00002ce0| 61 6c 2d 63 75 72 72 65 | 6e 74 2d 62 75 66 66 65 |al-curre|nt-buffe|
|00002cf0| 72 20 65 76 61 6c 2d 62 | 75 66 66 65 72 20 63 6f |r eval-b|uffer co|
|00002d00| 6d 70 69 6c 65 64 2d 66 | 75 6e 63 74 69 6f 6e 2d |mpiled-f|unction-|
|00002d10| 70 20 62 79 74 65 2d 63 | 6f 64 65 2d 66 75 6e 63 |p byte-c|ode-func|
|00002d20| 74 69 6f 6e 2d 70 5d 20 | 34 29 0a 28 64 65 66 75 |tion-p] |4).(defu|
|00002d30| 6e 20 62 61 75 64 2d 72 | 61 74 65 20 6e 69 6c 20 |n baud-r|ate nil |
|00002d40| 22 5c 0a 4f 62 73 6f 6c | 65 74 65 20 66 75 6e 63 |"\.Obsol|ete func|
|00002d50| 74 69 6f 6e 20 72 65 74 | 75 72 6e 69 6e 67 20 74 |tion ret|urning t|
|00002d60| 68 65 20 76 61 6c 75 65 | 20 6f 66 20 74 68 65 20 |he value| of the |
|00002d70| 60 62 61 75 64 2d 72 61 | 74 65 27 20 76 61 72 69 |`baud-ra|te' vari|
|00002d80| 61 62 6c 65 2e 0a 50 6c | 65 61 73 65 20 63 6f 6e |able..Pl|ease con|
|00002d90| 76 65 72 74 20 79 6f 75 | 72 20 70 72 6f 67 72 61 |vert you|r progra|
|00002da0| 6d 73 20 74 6f 20 75 73 | 65 20 74 68 65 20 76 61 |ms to us|e the va|
|00002db0| 72 69 61 62 6c 65 20 60 | 62 61 75 64 2d 72 61 74 |riable `|baud-rat|
|00002dc0| 65 27 20 64 69 72 65 63 | 74 6c 79 2e 22 20 62 61 |e' direc|tly." ba|
|00002dd0| 75 64 2d 72 61 74 65 29 | 0a 28 62 79 74 65 2d 63 |ud-rate)|.(byte-c|
|00002de0| 6f 64 65 20 22 c0 c1 c2 | 5c 22 88 c0 c3 c4 5c 22 |ode "...|\"....\"|
|00002df0| 88 c0 c5 c6 5c 22 88 c0 | c7 c8 5c 22 88 c0 c9 ca |....\"..|..\"....|
|00002e00| 5c 22 88 c0 cb cc 5c 22 | 88 c0 cd ce 5c 22 88 c0 |\"....\"|....\"..|
|00002e10| cf d0 5c 22 88 c0 d1 d2 | 5c 22 88 c0 d3 d4 5c 22 |..\"....|\"....\"|
|00002e20| 88 c0 d5 d6 4b 5c 22 88 | c0 d7 d8 4b 5c 22 88 c0 |....K\".|...K\"..|
|00002e30| d9 da 5c 22 88 c0 db dc | 5c 22 88 c0 dd de 5c 22 |..\"....|\"....\"|
|00002e40| 87 22 20 5b 64 65 66 61 | 6c 69 61 73 20 73 74 72 |." [defa|lias str|
|00002e50| 69 6e 67 3d 20 73 74 72 | 69 6e 67 2d 65 71 75 61 |ing= str|ing-equa|
|00002e60| 6c 20 73 74 72 69 6e 67 | 3c 20 73 74 72 69 6e 67 |l string|< string|
|00002e70| 2d 6c 65 73 73 70 20 6d | 6f 76 65 2d 6d 61 72 6b |-lessp m|ove-mark|
|00002e80| 65 72 20 73 65 74 2d 6d | 61 72 6b 65 72 20 65 71 |er set-m|arker eq|
|00002e90| 6c 20 65 71 20 6e 6f 74 | 20 6e 75 6c 6c 20 72 70 |l eq not| null rp|
|00002ea0| 6c 61 63 61 20 73 65 74 | 63 61 72 20 72 70 6c 61 |laca set|car rpla|
|00002eb0| 63 64 20 73 65 74 63 64 | 72 20 62 65 65 70 20 64 |cd setcd|r beep d|
|00002ec0| 69 6e 67 20 69 6e 64 65 | 6e 74 2d 74 6f 2d 63 6f |ing inde|nt-to-co|
|00002ed0| 6c 75 6d 6e 20 69 6e 64 | 65 6e 74 2d 74 6f 20 62 |lumn ind|ent-to b|
|00002ee0| 61 63 6b 77 61 72 64 2d | 64 65 6c 65 74 65 2d 63 |ackward-|delete-c|
|00002ef0| 68 61 72 20 64 65 6c 65 | 74 65 2d 62 61 63 6b 77 |har dele|te-backw|
|00002f00| 61 72 64 2d 63 68 61 72 | 20 73 65 61 72 63 68 2d |ard-char| search-|
|00002f10| 66 6f 72 77 61 72 64 2d | 72 65 67 65 78 70 20 72 |forward-|regexp r|
|00002f20| 65 2d 73 65 61 72 63 68 | 2d 66 6f 72 77 61 72 64 |e-search|-forward|
|00002f30| 20 73 65 61 72 63 68 2d | 62 61 63 6b 77 61 72 64 | search-|backward|
|00002f40| 2d 72 65 67 65 78 70 20 | 72 65 2d 73 65 61 72 63 |-regexp |re-searc|
|00002f50| 68 2d 62 61 63 6b 77 61 | 72 64 20 69 6e 74 2d 74 |h-backwa|rd int-t|
|00002f60| 6f 2d 73 74 72 69 6e 67 | 20 6e 75 6d 62 65 72 2d |o-string| number-|
|00002f70| 74 6f 2d 73 74 72 69 6e | 67 20 73 65 74 2d 6d 61 |to-strin|g set-ma|
|00002f80| 74 63 68 2d 64 61 74 61 | 20 73 74 6f 72 65 2d 6d |tch-data| store-m|
|00002f90| 61 74 63 68 2d 64 61 74 | 61 20 73 74 72 69 6e 67 |atch-dat|a string|
|00002fa0| 2d 74 6f 2d 69 6e 74 20 | 73 74 72 69 6e 67 2d 74 |-to-int |string-t|
|00002fb0| 6f 2d 6e 75 6d 62 65 72 | 5d 20 33 29 0a 28 64 65 |o-number|] 3).(de|
|00002fc0| 66 61 6c 69 61 73 20 27 | 72 75 6e 2d 68 6f 6f 6b |falias '|run-hook|
|00002fd0| 73 20 23 5b 28 26 72 65 | 73 74 20 68 6f 6f 6b 6c |s #[(&re|st hookl|
|00002fe0| 69 73 74 29 20 22 08 85 | 43 00 08 40 19 c2 09 21 |ist) "..|C..@...!|
|00002ff0| 83 3a 00 09 4a 83 3a 00 | 09 4a 89 1b 3c 83 36 00 |.:..J.:.|.J..<.6.|
|00003000| 0b 40 c4 3d 84 36 00 0b | 1d 0b 83 32 00 0b 40 20 |.@.=.6..|...2..@ |
|00003010| 88 0b 41 89 13 84 27 00 | 29 82 39 00 0b 20 88 29 |..A...'.|).9.. .)|
|00003020| 29 08 41 89 10 84 04 00 | c6 87 22 20 5b 68 6f 6f |).A.....|.." [hoo|
|00003030| 6b 6c 69 73 74 20 73 79 | 6d 20 62 6f 75 6e 64 70 |klist sy|m boundp|
|00003040| 20 76 61 6c 75 65 20 6c | 61 6d 62 64 61 20 66 75 | value l|ambda fu|
|00003050| 6e 63 74 69 6f 6e 73 20 | 6e 69 6c 5d 20 33 20 22 |nctions |nil] 3 "|
|00003060| 5c 0a 54 61 6b 65 73 20 | 68 6f 6f 6b 20 6e 61 6d |\.Takes |hook nam|
|00003070| 65 73 20 61 6e 64 20 72 | 75 6e 73 20 65 61 63 68 |es and r|uns each|
|00003080| 20 6f 6e 65 20 69 6e 20 | 74 75 72 6e 2e 20 20 4d | one in |turn. M|
|00003090| 61 6a 6f 72 20 6d 6f 64 | 65 20 66 75 6e 63 74 69 |ajor mod|e functi|
|000030a0| 6f 6e 73 20 75 73 65 20 | 74 68 69 73 2e 0a 45 61 |ons use |this..Ea|
|000030b0| 63 68 20 61 72 67 75 6d | 65 6e 74 20 73 68 6f 75 |ch argum|ent shou|
|000030c0| 6c 64 20 62 65 20 61 20 | 73 79 6d 62 6f 6c 2c 20 |ld be a |symbol, |
|000030d0| 61 20 68 6f 6f 6b 20 76 | 61 72 69 61 62 6c 65 2e |a hook v|ariable.|
|000030e0| 0a 54 68 65 73 65 20 73 | 79 6d 62 6f 6c 73 20 61 |.These s|ymbols a|
|000030f0| 72 65 20 70 72 6f 63 65 | 73 73 65 64 20 69 6e 20 |re proce|ssed in |
|00003100| 74 68 65 20 6f 72 64 65 | 72 20 73 70 65 63 69 66 |the orde|r specif|
|00003110| 69 65 64 2e 0a 49 66 20 | 61 20 68 6f 6f 6b 20 73 |ied..If |a hook s|
|00003120| 79 6d 62 6f 6c 20 68 61 | 73 20 61 20 6e 6f 6e 2d |ymbol ha|s a non-|
|00003130| 6e 69 6c 20 76 61 6c 75 | 65 2c 20 74 68 61 74 20 |nil valu|e, that |
|00003140| 76 61 6c 75 65 20 6d 61 | 79 20 62 65 20 61 20 66 |value ma|y be a f|
|00003150| 75 6e 63 74 69 6f 6e 0a | 6f 72 20 61 20 6c 69 73 |unction.|or a lis|
|00003160| 74 20 6f 66 20 66 75 6e | 63 74 69 6f 6e 73 20 74 |t of fun|ctions t|
|00003170| 6f 20 62 65 20 63 61 6c | 6c 65 64 20 74 6f 20 72 |o be cal|led to r|
|00003180| 75 6e 20 74 68 65 20 68 | 6f 6f 6b 2e 0a 49 66 20 |un the h|ook..If |
|00003190| 74 68 65 20 76 61 6c 75 | 65 20 69 73 20 61 20 66 |the valu|e is a f|
|000031a0| 75 6e 63 74 69 6f 6e 2c | 20 69 74 20 69 73 20 63 |unction,| it is c|
|000031b0| 61 6c 6c 65 64 20 77 69 | 74 68 20 6e 6f 20 61 72 |alled wi|th no ar|
|000031c0| 67 75 6d 65 6e 74 73 2e | 0a 49 66 20 69 74 20 69 |guments.|.If it i|
|000031d0| 73 20 61 20 6c 69 73 74 | 2c 20 74 68 65 20 65 6c |s a list|, the el|
|000031e0| 65 6d 65 6e 74 73 20 61 | 72 65 20 63 61 6c 6c 65 |ements a|re calle|
|000031f0| 64 2c 20 69 6e 20 6f 72 | 64 65 72 2c 20 77 69 74 |d, in or|der, wit|
|00003200| 68 20 6e 6f 20 61 72 67 | 75 6d 65 6e 74 73 2e 22 |h no arg|uments."|
|00003210| 5d 29 0a 28 64 65 66 61 | 6c 69 61 73 20 27 72 75 |]).(defa|lias 'ru|
|00003220| 6e 2d 68 6f 6f 6b 2d 77 | 69 74 68 2d 61 72 67 73 |n-hook-w|ith-args|
|00003230| 20 23 5b 28 68 6f 6f 6b | 20 26 72 65 73 74 20 61 | #[(hook| &rest a|
|00003240| 72 67 73 29 20 22 c0 09 | 21 85 27 00 09 4a 85 27 |rgs) "..|!.'..J.'|
|00003250| 00 09 4a 89 1a 3c 83 21 | 00 5c 6e 40 c3 3d 84 21 |..J..<.!|.\n@.=.!|
|00003260| 00 c4 c5 5c 6e 5c 22 82 | 26 00 c6 5c 6e 0e 07 5c |...\n\".|&..\n..\|
|00003270| 22 29 87 22 20 5b 62 6f | 75 6e 64 70 20 68 6f 6f |")." [bo|undp hoo|
|00003280| 6b 20 76 61 6c 75 65 20 | 6c 61 6d 62 64 61 20 6d |k value |lambda m|
|00003290| 61 70 63 61 72 20 23 5b | 28 66 6f 6f 29 20 22 c0 |apcar #[|(foo) ".|
|000032a0| 09 5c 6e 5c 22 87 22 20 | 5b 61 70 70 6c 79 20 66 |.\n\"." |[apply f|
|000032b0| 6f 6f 20 61 72 67 73 5d | 20 33 5d 20 61 70 70 6c |oo args]| 3] appl|
|000032c0| 79 20 61 72 67 73 5d 20 | 34 20 22 5c 0a 52 75 6e |y args] |4 "\.Run|
|000032d0| 20 48 4f 4f 4b 20 77 69 | 74 68 20 74 68 65 20 73 | HOOK wi|th the s|
|000032e0| 70 65 63 69 66 69 65 64 | 20 61 72 67 75 6d 65 6e |pecified| argumen|
|000032f0| 74 73 20 41 52 47 53 2e | 0a 48 4f 4f 4b 20 73 68 |ts ARGS.|.HOOK sh|
|00003300| 6f 75 6c 64 20 62 65 20 | 61 20 73 79 6d 62 6f 6c |ould be |a symbol|
|00003310| 2c 20 61 20 68 6f 6f 6b | 20 76 61 72 69 61 62 6c |, a hook| variabl|
|00003320| 65 2e 20 20 49 66 20 48 | 4f 4f 4b 20 68 61 73 20 |e. If H|OOK has |
|00003330| 61 20 6e 6f 6e 2d 6e 69 | 6c 0a 76 61 6c 75 65 2c |a non-ni|l.value,|
|00003340| 20 74 68 61 74 20 76 61 | 6c 75 65 20 6d 61 79 20 | that va|lue may |
|00003350| 62 65 20 61 20 66 75 6e | 63 74 69 6f 6e 20 6f 72 |be a fun|ction or|
|00003360| 20 61 20 6c 69 73 74 20 | 6f 66 20 66 75 6e 63 74 | a list |of funct|
|00003370| 69 6f 6e 73 20 74 6f 20 | 62 65 0a 63 61 6c 6c 65 |ions to |be.calle|
|00003380| 64 20 74 6f 20 72 75 6e | 20 74 68 65 20 68 6f 6f |d to run| the hoo|
|00003390| 6b 2e 20 20 49 66 20 74 | 68 65 20 76 61 6c 75 65 |k. If t|he value|
|000033a0| 20 69 73 20 61 20 66 75 | 6e 63 74 69 6f 6e 2c 20 | is a fu|nction, |
|000033b0| 69 74 20 69 73 20 63 61 | 6c 6c 65 64 20 77 69 74 |it is ca|lled wit|
|000033c0| 68 0a 74 68 65 20 67 69 | 76 65 6e 20 61 72 67 75 |h.the gi|ven argu|
|000033d0| 6d 65 6e 74 73 20 61 6e | 64 20 69 74 73 20 72 65 |ments an|d its re|
|000033e0| 74 75 72 6e 20 76 61 6c | 75 65 20 69 73 20 72 65 |turn val|ue is re|
|000033f0| 74 75 72 6e 65 64 2e 20 | 20 49 66 20 69 74 20 69 |turned. | If it i|
|00003400| 73 20 61 20 6c 69 73 74 | 0a 6f 66 20 66 75 6e 63 |s a list|.of func|
|00003410| 74 69 6f 6e 73 2c 20 74 | 68 6f 73 65 20 66 75 6e |tions, t|hose fun|
|00003420| 63 74 69 6f 6e 73 20 61 | 72 65 20 63 61 6c 6c 65 |ctions a|re calle|
|00003430| 64 2c 20 69 6e 20 6f 72 | 64 65 72 2c 0a 77 69 74 |d, in or|der,.wit|
|00003440| 68 20 74 68 65 20 67 69 | 76 65 6e 20 61 72 67 75 |h the gi|ven argu|
|00003450| 6d 65 6e 74 73 20 41 52 | 47 53 2e 0a 49 74 20 69 |ments AR|GS..It i|
|00003460| 73 20 62 65 73 74 20 6e | 6f 74 20 74 6f 20 64 65 |s best n|ot to de|
|00003470| 70 65 6e 64 20 6f 6e 20 | 74 68 65 20 76 61 6c 75 |pend on |the valu|
|00003480| 65 20 72 65 74 75 72 6e | 20 62 79 20 60 72 75 6e |e return| by `run|
|00003490| 2d 68 6f 6f 6b 2d 77 69 | 74 68 2d 61 72 67 73 27 |-hook-wi|th-args'|
|000034a0| 2c 0a 61 73 20 74 68 61 | 74 20 6d 61 79 20 63 68 |,.as tha|t may ch|
|000034b0| 61 6e 67 65 2e 22 5d 29 | 0a 28 64 65 66 63 6f 6e |ange."])|.(defcon|
|000034c0| 73 74 20 72 75 6e 2d 68 | 6f 6f 6b 73 20 28 71 75 |st run-h|ooks (qu|
|000034d0| 6f 74 65 20 72 75 6e 2d | 68 6f 6f 6b 73 29 20 22 |ote run-|hooks) "|
|000034e0| 5c 0a 56 61 72 69 61 62 | 6c 65 20 62 79 20 77 68 |\.Variab|le by wh|
|000034f0| 69 63 68 20 43 20 70 72 | 69 6d 69 74 69 76 65 73 |ich C pr|imitives|
|00003500| 20 66 69 6e 64 20 74 68 | 65 20 66 75 6e 63 74 69 | find th|e functi|
|00003510| 6f 6e 20 60 72 75 6e 2d | 68 6f 6f 6b 73 27 2e 0a |on `run-|hooks'..|
|00003520| 44 6f 6e 27 74 20 63 68 | 61 6e 67 65 20 69 74 2e |Don't ch|ange it.|
|00003530| 22 29 0a 28 64 65 66 61 | 6c 69 61 73 20 27 61 64 |").(defa|lias 'ad|
|00003540| 64 2d 68 6f 6f 6b 20 23 | 5b 28 68 6f 6f 6b 20 66 |d-hook #|[(hook f|
|00003550| 75 6e 63 74 69 6f 6e 20 | 26 6f 70 74 69 6f 6e 61 |unction |&optiona|
|00003560| 6c 20 61 70 70 65 6e 64 | 29 20 22 c0 09 21 84 5c |l append|) "..!.\|
|00003570| 6e 00 09 c2 4c 88 09 4a | 89 1b 3c 83 19 00 0b 40 |n...L..J|..<....@|
|00003580| c4 3d 83 1e 00 09 0b 43 | 4c 88 29 0d 3a 83 2b 00 |.=.....C|L.).:.+.|
|00003590| 0d 09 4a 9d 82 2f 00 0d | 09 4a 3e 86 45 00 09 0e |..J../..|.J>.E...|
|000035a0| 06 83 40 00 09 4a 0d 43 | a4 82 44 00 0d 09 4a 42 |..@..J.C|..D...JB|
|000035b0| 4c 87 22 20 5b 62 6f 75 | 6e 64 70 20 68 6f 6f 6b |L." [bou|ndp hook|
|000035c0| 20 6e 69 6c 20 6f 6c 64 | 20 6c 61 6d 62 64 61 20 | nil old| lambda |
|000035d0| 66 75 6e 63 74 69 6f 6e | 20 61 70 70 65 6e 64 5d |function| append]|
|000035e0| 20 34 20 22 5c 0a 41 64 | 64 20 74 6f 20 74 68 65 | 4 "\.Ad|d to the|
|000035f0| 20 76 61 6c 75 65 20 6f | 66 20 48 4f 4f 4b 20 74 | value o|f HOOK t|
|00003600| 68 65 20 66 75 6e 63 74 | 69 6f 6e 20 46 55 4e 43 |he funct|ion FUNC|
|00003610| 54 49 4f 4e 2e 0a 46 55 | 4e 43 54 49 4f 4e 20 69 |TION..FU|NCTION i|
|00003620| 73 20 6e 6f 74 20 61 64 | 64 65 64 20 69 66 20 61 |s not ad|ded if a|
|00003630| 6c 72 65 61 64 79 20 70 | 72 65 73 65 6e 74 2e 0a |lready p|resent..|
|00003640| 46 55 4e 43 54 49 4f 4e | 20 69 73 20 61 64 64 65 |FUNCTION| is adde|
|00003650| 64 20 28 69 66 20 6e 65 | 63 65 73 73 61 72 79 29 |d (if ne|cessary)|
|00003660| 20 61 74 20 74 68 65 20 | 62 65 67 69 6e 6e 69 6e | at the |beginnin|
|00003670| 67 20 6f 66 20 74 68 65 | 20 68 6f 6f 6b 20 6c 69 |g of the| hook li|
|00003680| 73 74 0a 75 6e 6c 65 73 | 73 20 74 68 65 20 6f 70 |st.unles|s the op|
|00003690| 74 69 6f 6e 61 6c 20 61 | 72 67 75 6d 65 6e 74 20 |tional a|rgument |
|000036a0| 41 50 50 45 4e 44 20 69 | 73 20 6e 6f 6e 2d 6e 69 |APPEND i|s non-ni|
|000036b0| 6c 2c 20 69 6e 20 77 68 | 69 63 68 20 63 61 73 65 |l, in wh|ich case|
|000036c0| 0a 46 55 4e 43 54 49 4f | 4e 20 69 73 20 61 64 64 |.FUNCTIO|N is add|
|000036d0| 65 64 20 61 74 20 74 68 | 65 20 65 6e 64 2e 0a 0a |ed at th|e end...|
|000036e0| 48 4f 4f 4b 20 73 68 6f | 75 6c 64 20 62 65 20 61 |HOOK sho|uld be a|
|000036f0| 20 73 79 6d 62 6f 6c 2c | 20 61 6e 64 20 46 55 4e | symbol,| and FUN|
|00003700| 43 54 49 4f 4e 20 6d 61 | 79 20 62 65 20 61 6e 79 |CTION ma|y be any|
|00003710| 20 76 61 6c 69 64 20 66 | 75 6e 63 74 69 6f 6e 2e | valid f|unction.|
|00003720| 20 20 49 66 0a 48 4f 4f | 4b 20 69 73 20 76 6f 69 | If.HOO|K is voi|
|00003730| 64 2c 20 69 74 20 69 73 | 20 66 69 72 73 74 20 73 |d, it is| first s|
|00003740| 65 74 20 74 6f 20 6e 69 | 6c 2e 20 20 49 66 20 48 |et to ni|l. If H|
|00003750| 4f 4f 4b 27 73 20 76 61 | 6c 75 65 20 69 73 20 61 |OOK's va|lue is a|
|00003760| 20 73 69 6e 67 6c 65 0a | 66 75 6e 63 74 69 6f 6e | single.|function|
|00003770| 2c 20 69 74 20 69 73 20 | 63 68 61 6e 67 65 64 20 |, it is |changed |
|00003780| 74 6f 20 61 20 6c 69 73 | 74 20 6f 66 20 66 75 6e |to a lis|t of fun|
|00003790| 63 74 69 6f 6e 73 2e 22 | 5d 29 0a 28 64 65 66 61 |ctions."|]).(defa|
|000037a0| 6c 69 61 73 20 27 72 65 | 6d 6f 76 65 2d 68 6f 6f |lias 're|move-hoo|
|000037b0| 6b 20 23 5b 28 68 6f 6f | 6b 20 66 75 6e 63 74 69 |k #[(hoo|k functi|
|000037c0| 6f 6e 29 20 22 c0 09 21 | 3f 86 0f 00 09 4a 3f 86 |on) "..!|?....J?.|
|000037d0| 0f 00 5c 6e 3f 3f 85 2f | 00 09 4a 89 1b 3a 83 23 |..\n??./|..J..:.#|
|000037e0| 00 c4 5c 6e 0b 5c 22 13 | 82 2b 00 0b 5c 6e 9a 83 |..\n.\".|.+..\n..|
|000037f0| 2b 00 c5 13 09 0b 4c 29 | 87 22 20 5b 62 6f 75 6e |+.....L)|." [boun|
|00003800| 64 70 20 68 6f 6f 6b 20 | 66 75 6e 63 74 69 6f 6e |dp hook |function|
|00003810| 20 68 6f 6f 6b 2d 76 61 | 6c 75 65 20 64 65 6c 65 | hook-va|lue dele|
|00003820| 74 65 20 6e 69 6c 5d 20 | 34 20 22 5c 0a 52 65 6d |te nil] |4 "\.Rem|
|00003830| 6f 76 65 20 66 72 6f 6d | 20 74 68 65 20 76 61 6c |ove from| the val|
|00003840| 75 65 20 6f 66 20 48 4f | 4f 4b 20 74 68 65 20 66 |ue of HO|OK the f|
|00003850| 75 6e 63 74 69 6f 6e 20 | 46 55 4e 43 54 49 4f 4e |unction |FUNCTION|
|00003860| 2e 0a 48 4f 4f 4b 20 73 | 68 6f 75 6c 64 20 62 65 |..HOOK s|hould be|
|00003870| 20 61 20 73 79 6d 62 6f | 6c 2c 20 61 6e 64 20 46 | a symbo|l, and F|
|00003880| 55 4e 43 54 49 4f 4e 20 | 6d 61 79 20 62 65 20 61 |UNCTION |may be a|
|00003890| 6e 79 20 76 61 6c 69 64 | 20 66 75 6e 63 74 69 6f |ny valid| functio|
|000038a0| 6e 2e 20 20 49 66 0a 46 | 55 4e 43 54 49 4f 4e 20 |n. If.F|UNCTION |
|000038b0| 69 73 6e 27 74 20 74 68 | 65 20 76 61 6c 75 65 20 |isn't th|e value |
|000038c0| 6f 66 20 48 4f 4f 4b 2c | 20 6f 72 2c 20 69 66 20 |of HOOK,| or, if |
|000038d0| 46 55 4e 43 54 49 4f 4e | 20 64 6f 65 73 6e 27 74 |FUNCTION| doesn't|
|000038e0| 20 61 70 70 65 61 72 20 | 69 6e 20 74 68 65 0a 6c | appear |in the.l|
|000038f0| 69 73 74 20 6f 66 20 68 | 6f 6f 6b 73 20 74 6f 20 |ist of h|ooks to |
|00003900| 72 75 6e 20 69 6e 20 48 | 4f 4f 4b 2c 20 74 68 65 |run in H|OOK, the|
|00003910| 6e 20 6e 6f 74 68 69 6e | 67 20 69 73 20 64 6f 6e |n nothin|g is don|
|00003920| 65 2e 20 20 53 65 65 20 | 60 61 64 64 2d 68 6f 6f |e. See |`add-hoo|
|00003930| 6b 27 2e 22 5d 29 0a 28 | 64 65 66 61 6c 69 61 73 |k'."]).(|defalias|
|00003940| 20 27 65 76 61 6c 2d 61 | 66 74 65 72 2d 6c 6f 61 | 'eval-a|fter-loa|
|00003950| 64 20 23 5b 28 66 69 6c | 65 20 66 6f 72 6d 29 20 |d #[(fil|e form) |
|00003960| 22 c0 09 5c 6e 5c 22 84 | 5c 66 00 09 43 5c 6e 42 |"..\n\".|\f..C\nB|
|00003970| 12 c0 09 5c 6e 5c 22 1b | 5c 66 0b 41 9d 84 1d 00 |...\n\".|\f.A....|
|00003980| 0b 5c 66 43 a4 88 29 5c | 66 87 22 20 5b 61 73 73 |.\fC..)\|f." [ass|
|00003990| 6f 63 20 66 69 6c 65 20 | 61 66 74 65 72 2d 6c 6f |oc file |after-lo|
|000039a0| 61 64 2d 61 6c 69 73 74 | 20 65 6c 74 20 66 6f 72 |ad-alist| elt for|
|000039b0| 6d 5d 20 33 20 22 5c 0a | 41 72 72 61 6e 67 65 20 |m] 3 "\.|Arrange |
|000039c0| 74 68 61 74 2c 20 69 66 | 20 46 49 4c 45 20 69 73 |that, if| FILE is|
|000039d0| 20 65 76 65 72 20 6c 6f | 61 64 65 64 2c 20 46 4f | ever lo|aded, FO|
|000039e0| 52 4d 20 77 69 6c 6c 20 | 62 65 20 72 75 6e 20 61 |RM will |be run a|
|000039f0| 74 20 74 68 61 74 20 74 | 69 6d 65 2e 0a 54 68 69 |t that t|ime..Thi|
|00003a00| 73 20 6d 61 6b 65 73 20 | 6f 72 20 61 64 64 73 20 |s makes |or adds |
|00003a10| 74 6f 20 61 6e 20 65 6e | 74 72 79 20 6f 6e 20 60 |to an en|try on `|
|00003a20| 61 66 74 65 72 2d 6c 6f | 61 64 2d 61 6c 69 73 74 |after-lo|ad-alist|
|00003a30| 27 2e 0a 49 74 20 64 6f | 65 73 20 6e 6f 74 68 69 |'..It do|es nothi|
|00003a40| 6e 67 20 69 66 20 46 4f | 52 4d 20 69 73 20 61 6c |ng if FO|RM is al|
|00003a50| 72 65 61 64 79 20 6f 6e | 20 74 68 65 20 6c 69 73 |ready on| the lis|
|00003a60| 74 20 66 6f 72 20 46 49 | 4c 45 2e 0a 46 49 4c 45 |t for FI|LE..FILE|
|00003a70| 20 73 68 6f 75 6c 64 20 | 62 65 20 74 68 65 20 6e | should |be the n|
|00003a80| 61 6d 65 20 6f 66 20 61 | 20 6c 69 62 72 61 72 79 |ame of a| library|
|00003a90| 2c 20 77 69 74 68 20 6e | 6f 20 64 69 72 65 63 74 |, with n|o direct|
|00003aa0| 6f 72 79 20 6e 61 6d 65 | 2e 22 5d 29 0a 28 64 65 |ory name|."]).(de|
|00003ab0| 66 61 6c 69 61 73 20 27 | 65 76 61 6c 2d 6e 65 78 |falias '|eval-nex|
|00003ac0| 74 2d 61 66 74 65 72 2d | 6c 6f 61 64 20 23 5b 28 |t-after-|load #[(|
|00003ad0| 66 69 6c 65 29 20 22 c0 | 09 c2 20 5c 22 87 22 20 |file) ".|.. \"." |
|00003ae0| 5b 65 76 61 6c 2d 61 66 | 74 65 72 2d 6c 6f 61 64 |[eval-af|ter-load|
|00003af0| 20 66 69 6c 65 20 72 65 | 61 64 5d 20 33 20 22 5c | file re|ad] 3 "\|
|00003b00| 0a 52 65 61 64 20 74 68 | 65 20 66 6f 6c 6c 6f 77 |.Read th|e follow|
|00003b10| 69 6e 67 20 69 6e 70 75 | 74 20 73 65 78 70 2c 20 |ing inpu|t sexp, |
|00003b20| 61 6e 64 20 72 75 6e 20 | 69 74 20 77 68 65 6e 65 |and run |it whene|
|00003b30| 76 65 72 20 46 49 4c 45 | 20 69 73 20 6c 6f 61 64 |ver FILE| is load|
|00003b40| 65 64 2e 0a 54 68 69 73 | 20 6d 61 6b 65 73 20 6f |ed..This| makes o|
|00003b50| 72 20 61 64 64 73 20 74 | 6f 20 61 6e 20 65 6e 74 |r adds t|o an ent|
|00003b60| 72 79 20 6f 6e 20 60 61 | 66 74 65 72 2d 6c 6f 61 |ry on `a|fter-loa|
|00003b70| 64 2d 61 6c 69 73 74 27 | 2e 0a 46 49 4c 45 20 73 |d-alist'|..FILE s|
|00003b80| 68 6f 75 6c 64 20 62 65 | 20 74 68 65 20 6e 61 6d |hould be| the nam|
|00003b90| 65 20 6f 66 20 61 20 6c | 69 62 72 61 72 79 2c 20 |e of a l|ibrary, |
|00003ba0| 77 69 74 68 20 6e 6f 20 | 64 69 72 65 63 74 6f 72 |with no |director|
|00003bb0| 79 20 6e 61 6d 65 2e 22 | 5d 29 0a 28 64 65 66 61 |y name."|]).(defa|
|00003bc0| 6c 69 61 73 20 27 72 65 | 61 64 2d 71 75 6f 74 65 |lias 're|ad-quote|
|00003bd0| 64 2d 63 68 61 72 20 23 | 5b 28 26 6f 70 74 69 6f |d-char #|[(&optio|
|00003be0| 6e 61 6c 20 70 72 6f 6d | 70 74 29 20 22 c0 89 c1 |nal prom|pt) "...|
|00003bf0| 1a 1b 1c 5c 66 c5 57 83 | 72 00 5c 66 c0 55 c1 1e |...\f.W.|r.\f.U..|
|00003c00| 06 1e 07 0e 08 83 1f 00 | c9 ca 0e 08 5c 22 88 cb |........|....\"..|
|00003c10| 20 12 0e 07 83 2a 00 c1 | 16 5c 66 2a 5c 6e 83 06 | ....*..|.\f*\n..|
|00003c20| 00 cd 5c 6e 58 83 5a 00 | 5c 6e ce 58 83 5a 00 0b |..\nX.Z.|\n.X.Z..|
|00003c30| cf 5f 5c 6e cd 5a 5c 5c | 13 5c 66 54 14 0e 08 83 |._\n.Z\\|.\fT....|
|00003c40| 06 00 c9 d0 d1 0e 08 5c | 6e 23 89 16 08 21 88 82 |.......\|n#...!..|
|00003c50| 06 00 5c 66 c0 56 83 6a | 00 5c 6e 43 16 12 d3 89 |..\f.V.j|.\nC....|
|00003c60| 14 82 07 00 5c 6e 13 d3 | 89 14 82 07 00 d4 d5 0b |....\n..|........|
|00003c70| d6 d7 d8 5c 22 5c 22 c0 | 55 84 83 00 d9 82 84 00 |...\"\".|U.......|
|00003c80| c0 d5 0b da 5c 22 5c 22 | 2b 87 22 20 5b 30 20 6e |....\"\"|+." [0 n|
|00003c90| 69 6c 20 63 68 61 72 20 | 63 6f 64 65 20 63 6f 75 |il char |code cou|
|00003ca0| 6e 74 20 33 20 68 65 6c | 70 2d 66 6f 72 6d 20 69 |nt 3 hel|p-form i|
|00003cb0| 6e 68 69 62 69 74 2d 71 | 75 69 74 20 70 72 6f 6d |nhibit-q|uit prom|
|00003cc0| 70 74 20 6d 65 73 73 61 | 67 65 20 22 25 73 2d 22 |pt messa|ge "%s-"|
|00003cd0| 20 72 65 61 64 2d 63 68 | 61 72 20 71 75 69 74 2d | read-ch|ar quit-|
|00003ce0| 66 6c 61 67 20 34 38 20 | 35 35 20 38 20 66 6f 72 |flag 48 |55 8 for|
|00003cf0| 6d 61 74 20 22 25 73 20 | 25 63 22 20 75 6e 72 65 |mat "%s |%c" unre|
|00003d00| 61 64 2d 63 6f 6d 6d 61 | 6e 64 2d 65 76 65 6e 74 |ad-comma|nd-event|
|00003d10| 73 20 32 35 39 20 6c 6f | 67 69 6f 72 20 6c 6f 67 |s 259 lo|gior log|
|00003d20| 61 6e 64 20 6c 73 68 20 | 31 20 32 33 20 31 32 38 |and lsh |1 23 128|
|00003d30| 20 32 35 35 5d 20 37 20 | 22 5c 0a 4c 69 6b 65 20 | 255] 7 |"\.Like |
|00003d40| 60 72 65 61 64 2d 63 68 | 61 72 27 2c 20 65 78 63 |`read-ch|ar', exc|
|00003d50| 65 70 74 20 74 68 61 74 | 20 69 66 20 74 68 65 20 |ept that| if the |
|00003d60| 66 69 72 73 74 20 63 68 | 61 72 61 63 74 65 72 20 |first ch|aracter |
|00003d70| 72 65 61 64 20 69 73 20 | 61 6e 20 6f 63 74 61 6c |read is |an octal|
|00003d80| 0a 64 69 67 69 74 2c 20 | 77 65 20 72 65 61 64 20 |.digit, |we read |
|00003d90| 75 70 20 74 6f 20 74 77 | 6f 20 6d 6f 72 65 20 6f |up to tw|o more o|
|00003da0| 63 74 61 6c 20 64 69 67 | 69 74 73 20 61 6e 64 20 |ctal dig|its and |
|00003db0| 72 65 74 75 72 6e 20 74 | 68 65 20 63 68 61 72 61 |return t|he chara|
|00003dc0| 63 74 65 72 0a 72 65 70 | 72 65 73 65 6e 74 65 64 |cter.rep|resented|
|00003dd0| 20 62 79 20 74 68 65 20 | 6f 63 74 61 6c 20 6e 75 | by the |octal nu|
|00003de0| 6d 62 65 72 20 63 6f 6e | 73 69 73 74 69 6e 67 20 |mber con|sisting |
|00003df0| 6f 66 20 74 68 6f 73 65 | 20 64 69 67 69 74 73 2e |of those| digits.|
|00003e00| 0a 4f 70 74 69 6f 6e 61 | 6c 20 61 72 67 75 6d 65 |.Optiona|l argume|
|00003e10| 6e 74 20 50 52 4f 4d 50 | 54 20 73 70 65 63 69 66 |nt PROMP|T specif|
|00003e20| 69 65 73 20 61 20 73 74 | 72 69 6e 67 20 74 6f 20 |ies a st|ring to |
|00003e30| 75 73 65 20 74 6f 20 70 | 72 6f 6d 70 74 20 74 68 |use to p|rompt th|
|00003e40| 65 20 75 73 65 72 2e 22 | 5d 29 0a 28 64 65 66 61 |e user."|]).(defa|
|00003e50| 6c 69 61 73 20 27 66 6f | 72 63 65 2d 6d 6f 64 65 |lias 'fo|rce-mode|
|00003e60| 2d 6c 69 6e 65 2d 75 70 | 64 61 74 65 20 23 5b 28 |-line-up|date #[(|
|00003e70| 26 6f 70 74 69 6f 6e 61 | 6c 20 61 6c 6c 29 20 22 |&optiona|l all) "|
|00003e80| 08 83 5c 6e 00 8a c1 20 | 71 88 29 c2 c3 20 21 87 |..\n... |q.).. !.|
|00003e90| 22 20 5b 61 6c 6c 20 6f | 74 68 65 72 2d 62 75 66 |" [all o|ther-buf|
|00003ea0| 66 65 72 20 73 65 74 2d | 62 75 66 66 65 72 2d 6d |fer set-|buffer-m|
|00003eb0| 6f 64 69 66 69 65 64 2d | 70 20 62 75 66 66 65 72 |odified-|p buffer|
|00003ec0| 2d 6d 6f 64 69 66 69 65 | 64 2d 70 5d 20 32 20 22 |-modifie|d-p] 2 "|
|00003ed0| 5c 0a 46 6f 72 63 65 20 | 74 68 65 20 6d 6f 64 65 |\.Force |the mode|
|00003ee0| 2d 6c 69 6e 65 20 6f 66 | 20 74 68 65 20 63 75 72 |-line of| the cur|
|00003ef0| 72 65 6e 74 20 62 75 66 | 66 65 72 20 74 6f 20 62 |rent buf|fer to b|
|00003f00| 65 20 72 65 64 69 73 70 | 6c 61 79 65 64 2e 0a 57 |e redisp|layed..W|
|00003f10| 69 74 68 20 6f 70 74 69 | 6f 6e 61 6c 20 6e 6f 6e |ith opti|onal non|
|00003f20| 2d 6e 69 6c 20 41 4c 4c | 2c 20 66 6f 72 63 65 20 |-nil ALL|, force |
|00003f30| 72 65 64 69 73 70 6c 61 | 79 20 6f 66 20 61 6c 6c |redispla|y of all|
|00003f40| 20 6d 6f 64 65 2d 6c 69 | 6e 65 73 2e 22 5d 29 0a | mode-li|nes."]).|
|00003f50| 28 64 65 66 61 6c 69 61 | 73 20 27 6d 6f 6d 65 6e |(defalia|s 'momen|
|00003f60| 74 61 72 79 2d 73 74 72 | 69 6e 67 2d 64 69 73 70 |tary-str|ing-disp|
|00003f70| 6c 61 79 20 23 5b 28 73 | 74 72 69 6e 67 20 70 6f |lay #[(s|tring po|
|00003f80| 73 20 26 6f 70 74 69 6f | 6e 61 6c 20 65 78 69 74 |s &optio|nal exit|
|00003f90| 2d 63 68 61 72 20 6d 65 | 73 73 61 67 65 29 20 22 |-char me|ssage) "|
|00003fa0| 08 84 06 00 c1 10 c2 c3 | c4 20 0d c2 1e 06 1e 07 |........|. ......|
|00003fb0| 1e 08 1e 09 1e 5c 6e cb | 8e 8a 0e 5c 66 62 88 c2 |.....\n.|...\fb..|
|00003fc0| 15 cd 0e 0e 21 88 60 16 | 06 cf 20 0e 06 56 83 36 |....!.`.|.. ..V.6|
|00003fd0| 00 d0 d1 20 d2 a5 21 88 | d3 d4 21 88 60 0e 5c 66 |... ..!.|..!.`.\f|
|00003fe0| 56 83 49 00 0e 5c 66 62 | 88 d0 d4 21 88 29 d5 0e |V.I..\fb|...!.)..|
|00003ff0| 15 86 51 00 d6 d7 08 21 | 5c 22 88 d8 20 89 1e 19 |..Q....!|\".. ...|
|00004000| 08 3d 86 66 00 0e 19 43 | 89 16 1a 2e 07 87 22 20 |.=.f...C|......" |
|00004010| 5b 65 78 69 74 2d 63 68 | 61 72 20 33 32 20 6e 69 |[exit-ch|ar 32 ni|
|00004020| 6c 20 74 20 62 75 66 66 | 65 72 2d 6d 6f 64 69 66 |l t buff|er-modif|
|00004030| 69 65 64 2d 70 20 62 75 | 66 66 65 72 2d 66 69 6c |ied-p bu|ffer-fil|
|00004040| 65 2d 6e 61 6d 65 20 69 | 6e 73 65 72 74 2d 65 6e |e-name i|nsert-en|
|00004050| 64 20 6e 61 6d 65 20 6d | 6f 64 69 66 69 65 64 20 |d name m|odified |
|00004060| 62 75 66 66 65 72 2d 75 | 6e 64 6f 2d 6c 69 73 74 |buffer-u|ndo-list|
|00004070| 20 62 75 66 66 65 72 2d | 72 65 61 64 2d 6f 6e 6c | buffer-|read-onl|
|00004080| 79 20 28 28 62 79 74 65 | 2d 63 6f 64 65 20 22 08 |y ((byte|-code ".|
|00004090| 83 5c 6e 00 8a 09 08 7c | 88 29 5c 6e 13 c4 0d 21 |.\n....||.)\n...!|
|000040a0| 87 22 20 5b 69 6e 73 65 | 72 74 2d 65 6e 64 20 70 |." [inse|rt-end p|
|000040b0| 6f 73 20 6e 61 6d 65 20 | 62 75 66 66 65 72 2d 66 |os name |buffer-f|
|000040c0| 69 6c 65 2d 6e 61 6d 65 | 20 73 65 74 2d 62 75 66 |ile-name| set-buf|
|000040d0| 66 65 72 2d 6d 6f 64 69 | 66 69 65 64 2d 70 20 6d |fer-modi|fied-p m|
|000040e0| 6f 64 69 66 69 65 64 5d | 20 32 29 29 20 70 6f 73 |odified]| 2)) pos|
|000040f0| 20 69 6e 73 65 72 74 2d | 62 65 66 6f 72 65 2d 6d | insert-|before-m|
|00004100| 61 72 6b 65 72 73 20 73 | 74 72 69 6e 67 20 77 69 |arkers s|tring wi|
|00004110| 6e 64 6f 77 2d 65 6e 64 | 20 72 65 63 65 6e 74 65 |ndow-end| recente|
|00004120| 72 20 77 69 6e 64 6f 77 | 2d 68 65 69 67 68 74 20 |r window|-height |
|00004130| 32 20 6d 6f 76 65 2d 74 | 6f 2d 77 69 6e 64 6f 77 |2 move-t|o-window|
|00004140| 2d 6c 69 6e 65 20 30 20 | 6d 65 73 73 61 67 65 20 |-line 0 |message |
|00004150| 22 54 79 70 65 20 25 73 | 20 74 6f 20 63 6f 6e 74 |"Type %s| to cont|
|00004160| 69 6e 75 65 20 65 64 69 | 74 69 6e 67 2e 22 20 73 |inue edi|ting." s|
|00004170| 69 6e 67 6c 65 2d 6b 65 | 79 2d 64 65 73 63 72 69 |ingle-ke|y-descri|
|00004180| 70 74 69 6f 6e 20 72 65 | 61 64 2d 65 76 65 6e 74 |ption re|ad-event|
|00004190| 20 63 68 61 72 20 75 6e | 72 65 61 64 2d 63 6f 6d | char un|read-com|
|000041a0| 6d 61 6e 64 2d 65 76 65 | 6e 74 73 5d 20 36 20 22 |mand-eve|nts] 6 "|
|000041b0| 5c 0a 4d 6f 6d 65 6e 74 | 61 72 69 6c 79 20 64 69 |\.Moment|arily di|
|000041c0| 73 70 6c 61 79 20 53 54 | 52 49 4e 47 20 69 6e 20 |splay ST|RING in |
|000041d0| 74 68 65 20 62 75 66 66 | 65 72 20 61 74 20 50 4f |the buff|er at PO|
|000041e0| 53 2e 0a 44 69 73 70 6c | 61 79 20 72 65 6d 61 69 |S..Displ|ay remai|
|000041f0| 6e 73 20 75 6e 74 69 6c | 20 6e 65 78 74 20 63 68 |ns until| next ch|
|00004200| 61 72 61 63 74 65 72 20 | 69 73 20 74 79 70 65 64 |aracter |is typed|
|00004210| 2e 0a 49 66 20 74 68 65 | 20 63 68 61 72 20 69 73 |..If the| char is|
|00004220| 20 45 58 49 54 2d 43 48 | 41 52 20 28 6f 70 74 69 | EXIT-CH|AR (opti|
|00004230| 6f 6e 61 6c 20 74 68 69 | 72 64 20 61 72 67 2c 20 |onal thi|rd arg, |
|00004240| 64 65 66 61 75 6c 74 20 | 69 73 20 53 50 43 29 20 |default |is SPC) |
|00004250| 69 74 20 69 73 20 73 77 | 61 6c 6c 6f 77 65 64 3b |it is sw|allowed;|
|00004260| 0a 6f 74 68 65 72 77 69 | 73 65 20 69 74 20 69 73 |.otherwi|se it is|
|00004270| 20 74 68 65 6e 20 61 76 | 61 69 6c 61 62 6c 65 20 | then av|ailable |
|00004280| 61 73 20 69 6e 70 75 74 | 20 28 61 73 20 61 20 63 |as input| (as a c|
|00004290| 6f 6d 6d 61 6e 64 20 69 | 66 20 6e 6f 74 68 69 6e |ommand i|f nothin|
|000042a0| 67 20 65 6c 73 65 29 2e | 0a 44 69 73 70 6c 61 79 |g else).|.Display|
|000042b0| 20 4d 45 53 53 41 47 45 | 20 28 6f 70 74 69 6f 6e | MESSAGE| (option|
|000042c0| 61 6c 20 66 6f 75 72 74 | 68 20 61 72 67 29 20 69 |al fourt|h arg) i|
|000042d0| 6e 20 74 68 65 20 65 63 | 68 6f 20 61 72 65 61 2e |n the ec|ho area.|
|000042e0| 0a 49 66 20 4d 45 53 53 | 41 47 45 20 69 73 20 6e |.If MESS|AGE is n|
|000042f0| 69 6c 2c 20 69 6e 73 74 | 72 75 63 74 69 6f 6e 73 |il, inst|ructions|
|00004300| 20 74 6f 20 74 79 70 65 | 20 45 58 49 54 2d 43 48 | to type| EXIT-CH|
|00004310| 41 52 20 61 72 65 20 64 | 69 73 70 6c 61 79 65 64 |AR are d|isplayed|
|00004320| 20 74 68 65 72 65 2e 22 | 5d 29 0a 28 64 65 66 75 | there."|]).(defu|
|00004330| 6e 20 69 67 6e 6f 72 65 | 20 28 26 72 65 73 74 20 |n ignore| (&rest |
|00004340| 69 67 6e 6f 72 65 29 20 | 22 5c 0a 44 6f 20 6e 6f |ignore) |"\.Do no|
|00004350| 74 68 69 6e 67 20 61 6e | 64 20 72 65 74 75 72 6e |thing an|d return|
|00004360| 20 6e 69 6c 2e 0a 54 68 | 69 73 20 66 75 6e 63 74 | nil..Th|is funct|
|00004370| 69 6f 6e 20 61 63 63 65 | 70 74 73 20 61 6e 79 20 |ion acce|pts any |
|00004380| 6e 75 6d 62 65 72 20 6f | 66 20 61 72 67 75 6d 65 |number o|f argume|
|00004390| 6e 74 73 2c 20 62 75 74 | 20 69 67 6e 6f 72 65 73 |nts, but| ignores|
|000043a0| 20 74 68 65 6d 2e 22 20 | 28 69 6e 74 65 72 61 63 | them." |(interac|
|000043b0| 74 69 76 65 29 29 0a 28 | 64 65 66 61 6c 69 61 73 |tive)).(|defalias|
|000043c0| 20 27 65 72 72 6f 72 20 | 23 5b 28 26 72 65 73 74 | 'error |#[(&rest|
|000043d0| 20 61 72 67 73 29 20 22 | c0 c1 c2 c3 5c 66 5c 22 | args) "|....\f\"|
|000043e0| 43 5c 22 88 82 00 00 22 | 20 5b 73 69 67 6e 61 6c |C\"...."| [signal|
|000043f0| 20 65 72 72 6f 72 20 61 | 70 70 6c 79 20 66 6f 72 | error a|pply for|
|00004400| 6d 61 74 20 61 72 67 73 | 5d 20 35 20 22 5c 0a 53 |mat args|] 5 "\.S|
|00004410| 69 67 6e 61 6c 20 61 6e | 20 65 72 72 6f 72 2c 20 |ignal an| error, |
|00004420| 6d 61 6b 69 6e 67 20 65 | 72 72 6f 72 20 6d 65 73 |making e|rror mes|
|00004430| 73 61 67 65 20 62 79 20 | 70 61 73 73 69 6e 67 20 |sage by |passing |
|00004440| 61 6c 6c 20 61 72 67 73 | 20 74 6f 20 60 66 6f 72 |all args| to `for|
|00004450| 6d 61 74 27 2e 22 5d 29 | 0a 28 64 65 66 61 6c 69 |mat'."])|.(defali|
|00004460| 61 73 20 28 71 75 6f 74 | 65 20 75 73 65 72 2d 6f |as (quot|e user-o|
|00004470| 72 69 67 69 6e 61 6c 2d | 6c 6f 67 69 6e 2d 6e 61 |riginal-|login-na|
|00004480| 6d 65 29 20 28 71 75 6f | 74 65 20 75 73 65 72 2d |me) (quo|te user-|
|00004490| 6c 6f 67 69 6e 2d 6e 61 | 6d 65 29 29 0a 28 64 65 |login-na|me)).(de|
|000044a0| 66 61 6c 69 61 73 20 27 | 73 74 61 72 74 2d 70 72 |falias '|start-pr|
|000044b0| 6f 63 65 73 73 2d 73 68 | 65 6c 6c 2d 63 6f 6d 6d |ocess-sh|ell-comm|
|000044c0| 61 6e 64 20 23 5b 28 6e | 61 6d 65 20 62 75 66 66 |and #[(n|ame buff|
|000044d0| 65 72 20 26 72 65 73 74 | 20 61 72 67 73 29 20 22 |er &rest| args) "|
|000044e0| 08 c1 3d 83 0e 00 c2 c3 | 5c 66 0d 0e 06 24 87 c3 |..=.....|\f...$..|
|000044f0| 5c 66 0d 0e 07 c8 c9 ca | cb 0e 06 cc 23 50 25 87 |\f......|....#P%.|
|00004500| 22 20 5b 73 79 73 74 65 | 6d 2d 74 79 70 65 20 76 |" [syste|m-type v|
|00004510| 61 78 2d 76 6d 73 20 61 | 70 70 6c 79 20 73 74 61 |ax-vms a|pply sta|
|00004520| 72 74 2d 70 72 6f 63 65 | 73 73 20 6e 61 6d 65 20 |rt-proce|ss name |
|00004530| 62 75 66 66 65 72 20 61 | 72 67 73 20 73 68 65 6c |buffer a|rgs shel|
|00004540| 6c 2d 66 69 6c 65 2d 6e | 61 6d 65 20 22 2d 63 22 |l-file-n|ame "-c"|
|00004550| 20 22 65 78 65 63 20 22 | 20 6d 61 70 63 6f 6e 63 | "exec "| mapconc|
|00004560| 61 74 20 69 64 65 6e 74 | 69 74 79 20 22 20 22 5d |at ident|ity " "]|
|00004570| 20 31 30 20 22 5c 0a 53 | 74 61 72 74 20 61 20 70 | 10 "\.S|tart a p|
|00004580| 72 6f 67 72 61 6d 20 69 | 6e 20 61 20 73 75 62 70 |rogram i|n a subp|
|00004590| 72 6f 63 65 73 73 2e 20 | 20 52 65 74 75 72 6e 20 |rocess. | Return |
|000045a0| 74 68 65 20 70 72 6f 63 | 65 73 73 20 6f 62 6a 65 |the proc|ess obje|
|000045b0| 63 74 20 66 6f 72 20 69 | 74 2e 0a 41 72 67 73 20 |ct for i|t..Args |
|000045c0| 61 72 65 20 4e 41 4d 45 | 20 42 55 46 46 45 52 20 |are NAME| BUFFER |
|000045d0| 43 4f 4d 4d 41 4e 44 20 | 26 72 65 73 74 20 43 4f |COMMAND |&rest CO|
|000045e0| 4d 4d 41 4e 44 2d 41 52 | 47 53 2e 0a 4e 41 4d 45 |MMAND-AR|GS..NAME|
|000045f0| 20 69 73 20 6e 61 6d 65 | 20 66 6f 72 20 70 72 6f | is name| for pro|
|00004600| 63 65 73 73 2e 20 20 49 | 74 20 69 73 20 6d 6f 64 |cess. I|t is mod|
|00004610| 69 66 69 65 64 20 69 66 | 20 6e 65 63 65 73 73 61 |ified if| necessa|
|00004620| 72 79 20 74 6f 20 6d 61 | 6b 65 20 69 74 20 75 6e |ry to ma|ke it un|
|00004630| 69 71 75 65 2e 0a 42 55 | 46 46 45 52 20 69 73 20 |ique..BU|FFER is |
|00004640| 74 68 65 20 62 75 66 66 | 65 72 20 6f 72 20 28 62 |the buff|er or (b|
|00004650| 75 66 66 65 72 2d 6e 61 | 6d 65 29 20 74 6f 20 61 |uffer-na|me) to a|
|00004660| 73 73 6f 63 69 61 74 65 | 20 77 69 74 68 20 74 68 |ssociate| with th|
|00004670| 65 20 70 72 6f 63 65 73 | 73 2e 0a 20 50 72 6f 63 |e proces|s.. Proc|
|00004680| 65 73 73 20 6f 75 74 70 | 75 74 20 67 6f 65 73 20 |ess outp|ut goes |
|00004690| 61 74 20 65 6e 64 20 6f | 66 20 74 68 61 74 20 62 |at end o|f that b|
|000046a0| 75 66 66 65 72 2c 20 75 | 6e 6c 65 73 73 20 79 6f |uffer, u|nless yo|
|000046b0| 75 20 73 70 65 63 69 66 | 79 0a 20 61 6e 20 6f 75 |u specif|y. an ou|
|000046c0| 74 70 75 74 20 73 74 72 | 65 61 6d 20 6f 72 20 66 |tput str|eam or f|
|000046d0| 69 6c 74 65 72 20 66 75 | 6e 63 74 69 6f 6e 20 74 |ilter fu|nction t|
|000046e0| 6f 20 68 61 6e 64 6c 65 | 20 74 68 65 20 6f 75 74 |o handle| the out|
|000046f0| 70 75 74 2e 0a 20 42 55 | 46 46 45 52 20 6d 61 79 |put.. BU|FFER may|
|00004700| 20 62 65 20 61 6c 73 6f | 20 6e 69 6c 2c 20 6d 65 | be also| nil, me|
|00004710| 61 6e 69 6e 67 20 74 68 | 61 74 20 74 68 69 73 20 |aning th|at this |
|00004720| 70 72 6f 63 65 73 73 20 | 69 73 20 6e 6f 74 20 61 |process |is not a|
|00004730| 73 73 6f 63 69 61 74 65 | 64 0a 20 77 69 74 68 20 |ssociate|d. with |
|00004740| 61 6e 79 20 62 75 66 66 | 65 72 0a 54 68 69 72 64 |any buff|er.Third|
|00004750| 20 61 72 67 20 69 73 20 | 63 6f 6d 6d 61 6e 64 20 | arg is |command |
|00004760| 6e 61 6d 65 2c 20 74 68 | 65 20 6e 61 6d 65 20 6f |name, th|e name o|
|00004770| 66 20 61 20 73 68 65 6c | 6c 20 63 6f 6d 6d 61 6e |f a shel|l comman|
|00004780| 64 2e 0a 52 65 6d 61 69 | 6e 69 6e 67 20 61 72 67 |d..Remai|ning arg|
|00004790| 75 6d 65 6e 74 73 20 61 | 72 65 20 74 68 65 20 61 |uments a|re the a|
|000047a0| 72 67 75 6d 65 6e 74 73 | 20 66 6f 72 20 74 68 65 |rguments| for the|
|000047b0| 20 63 6f 6d 6d 61 6e 64 | 2e 0a 57 69 6c 64 63 61 | command|..Wildca|
|000047c0| 72 64 73 20 61 6e 64 20 | 72 65 64 69 72 65 63 74 |rds and |redirect|
|000047d0| 69 6f 6e 20 61 72 65 20 | 68 61 6e 64 6c 65 64 20 |ion are |handled |
|000047e0| 61 73 20 75 73 75 61 6c | 20 69 6e 20 74 68 65 20 |as usual| in the |
|000047f0| 73 68 65 6c 6c 2e 22 5d | 29 0a 28 64 65 66 61 6c |shell."]|).(defal|
|00004800| 69 61 73 20 27 73 61 76 | 65 2d 6d 61 74 63 68 2d |ias 'sav|e-match-|
|00004810| 64 61 74 61 20 27 28 6d | 61 63 72 6f 20 2e 20 23 |data '(m|acro . #|
|00004820| 5b 28 26 72 65 73 74 20 | 62 6f 64 79 29 20 22 c0 |[(&rest |body) ".|
|00004830| c1 21 1a c3 5c 6e c4 44 | 43 c5 c6 0e 07 42 c8 5c |.!..\n.D|C....B.\|
|00004840| 6e 44 45 45 29 87 22 20 | 5b 6d 61 6b 65 2d 73 79 |nDEE)." |[make-sy|
|00004850| 6d 62 6f 6c 20 22 6d 61 | 74 63 68 2d 64 61 74 61 |mbol "ma|tch-data|
|00004860| 22 20 6f 72 69 67 69 6e | 61 6c 20 6c 65 74 20 28 |" origin|al let (|
|00004870| 6d 61 74 63 68 2d 64 61 | 74 61 29 20 75 6e 77 69 |match-da|ta) unwi|
|00004880| 6e 64 2d 70 72 6f 74 65 | 63 74 20 70 72 6f 67 6e |nd-prote|ct progn|
|00004890| 20 62 6f 64 79 20 73 74 | 6f 72 65 2d 6d 61 74 63 | body st|ore-matc|
|000048a0| 68 2d 64 61 74 61 5d 20 | 36 20 22 5c 0a 45 78 65 |h-data] |6 "\.Exe|
|000048b0| 63 75 74 65 20 74 68 65 | 20 42 4f 44 59 20 66 6f |cute the| BODY fo|
|000048c0| 72 6d 73 2c 20 72 65 73 | 74 6f 72 69 6e 67 20 74 |rms, res|toring t|
|000048d0| 68 65 20 67 6c 6f 62 61 | 6c 20 76 61 6c 75 65 20 |he globa|l value |
|000048e0| 6f 66 20 74 68 65 20 6d | 61 74 63 68 20 64 61 74 |of the m|atch dat|
|000048f0| 61 2e 22 5d 29 29 0a 28 | 64 65 66 61 6c 69 61 73 |a."])).(|defalias|
|00004900| 20 27 73 68 65 6c 6c 2d | 71 75 6f 74 65 2d 61 72 | 'shell-|quote-ar|
|00004910| 67 75 6d 65 6e 74 20 23 | 5b 28 61 72 67 75 6d 65 |gument #|[(argume|
|00004920| 6e 74 29 20 22 c0 c1 c2 | 1b 1c 1d c6 c7 0e 08 5c |nt) "...|.......\|
|00004930| 66 23 83 27 00 c1 94 13 | 0d 0e 08 5c 66 0b 4f c9 |f#.'....|...\f.O.|
|00004940| 0e 08 0b 89 54 4f 52 15 | 0b 54 14 82 06 00 0d 0e |....TOR.|.T......|
|00004950| 08 5c 66 c2 4f 50 2b 87 | 22 20 5b 22 22 20 30 20 |.\f.OP+.|" ["" 0 |
|00004960| 6e 69 6c 20 65 6e 64 20 | 73 74 61 72 74 20 72 65 |nil end |start re|
|00004970| 73 75 6c 74 20 73 74 72 | 69 6e 67 2d 6d 61 74 63 |sult str|ing-matc|
|00004980| 68 20 22 5b 5e 2d 30 2d | 39 61 2d 7a 41 2d 5a 5f |h "[^-0-|9a-zA-Z_|
|00004990| 2e 2f 5d 22 20 61 72 67 | 75 6d 65 6e 74 20 22 5c |./]" arg|ument "\|
|000049a0| 5c 22 5d 20 36 20 22 5c | 0a 51 75 6f 74 65 20 61 |\"] 6 "\|.Quote a|
|000049b0| 6e 20 61 72 67 75 6d 65 | 6e 74 20 66 6f 72 20 70 |n argume|nt for p|
|000049c0| 61 73 73 69 6e 67 20 61 | 73 20 61 72 67 75 6d 65 |assing a|s argume|
|000049d0| 6e 74 20 74 6f 20 61 6e | 20 69 6e 66 65 72 69 6f |nt to an| inferio|
|000049e0| 72 20 73 68 65 6c 6c 2e | 22 5d 29 0a 28 64 65 66 |r shell.|"]).(def|
|000049f0| 61 6c 69 61 73 20 27 6d | 61 6b 65 2d 73 79 6e 74 |alias 'm|ake-synt|
|00004a00| 61 78 2d 74 61 62 6c 65 | 20 23 5b 28 26 6f 70 74 |ax-table| #[(&opt|
|00004a10| 69 6f 6e 61 6c 20 6f 6c | 64 74 61 62 6c 65 29 20 |ional ol|dtable) |
|00004a20| 22 08 83 08 00 c1 08 21 | 87 c1 20 c2 1b 1c c5 13 |"......!|.. .....|
|00004a30| c5 c6 58 83 21 00 5c 66 | 0b c7 49 88 0b 54 89 13 |..X.!.\f|..I..T..|
|00004a40| 82 10 00 c8 13 c8 c9 58 | 83 35 00 5c 66 0b c7 49 |.......X|.5.\f..I|
|00004a50| 88 0b 54 89 13 82 24 00 | ca 13 ca cb 58 83 49 00 |..T...$.|....X.I.|
|00004a60| 5c 66 0b c7 49 88 0b 54 | 89 13 82 38 00 cc 13 cc |\f..I..T|...8....|
|00004a70| cd 58 83 5d 00 5c 66 0b | c7 49 88 0b 54 89 13 82 |.X.].\f.|.I..T...|
|00004a80| 4c 00 5c 66 2a 87 22 20 | 5b 6f 6c 64 74 61 62 6c |L.\f*." |[oldtabl|
|00004a90| 65 20 63 6f 70 79 2d 73 | 79 6e 74 61 78 2d 74 61 |e copy-s|yntax-ta|
|00004aa0| 62 6c 65 20 6e 69 6c 20 | 69 20 74 61 62 6c 65 20 |ble nil |i table |
|00004ab0| 30 20 33 31 20 31 33 20 | 36 35 20 39 30 20 39 37 |0 31 13 |65 90 97|
|00004ac0| 20 31 32 32 20 31 32 38 | 20 32 35 35 5d 20 34 20 | 122 128| 255] 4 |
|00004ad0| 22 5c 0a 52 65 74 75 72 | 6e 20 61 20 6e 65 77 20 |"\.Retur|n a new |
|00004ae0| 73 79 6e 74 61 78 20 74 | 61 62 6c 65 2e 0a 49 74 |syntax t|able..It|
|00004af0| 20 69 6e 68 65 72 69 74 | 73 20 61 6c 6c 20 6c 65 | inherit|s all le|
|00004b00| 74 74 65 72 73 20 61 6e | 64 20 63 6f 6e 74 72 6f |tters an|d contro|
|00004b10| 6c 20 63 68 61 72 61 63 | 74 65 72 73 20 66 72 6f |l charac|ters fro|
|00004b20| 6d 20 74 68 65 20 73 74 | 61 6e 64 61 72 64 0a 73 |m the st|andard.s|
|00004b30| 79 6e 74 61 78 20 74 61 | 62 6c 65 3b 20 6f 74 68 |yntax ta|ble; oth|
|00004b40| 65 72 20 63 68 61 72 61 | 63 74 65 72 73 20 61 72 |er chara|cters ar|
|00004b50| 65 20 63 6f 70 69 65 64 | 20 66 72 6f 6d 20 74 68 |e copied| from th|
|00004b60| 65 20 73 74 61 6e 64 61 | 72 64 20 73 79 6e 74 61 |e standa|rd synta|
|00004b70| 78 20 74 61 62 6c 65 2e | 22 5d 29 0a |x table.|"]). |
+--------+-------------------------+-------------------------+--------+--------+